Hi!
I'm not sure if this is the right forum for this, but the program I wish to create uses mostly functions from the Windows API (I think). So I need sources from tech gurus who know or are more familiar with them =)
I wish to create a program that serves as an interface to enable/disable the use of USB/Firewire based devices. But only the Administrator(user) of the PC can set this. So if the USB/Firewire ports have been disabled for a particular local user(not-Admin), he/she will no longer be able to use them.
So my questions are:
1) Is it possible to deny access to particular media for an ordinary user programmatically? Btw, I'll be using VB6.
2) Which Windows DLL has the function that retrieves user/profile names in a WinXP environment? I tried to research this online.. but i seem to be always finding functions not listed in the API viewer of Visual Studio 6.
2) Can you point me to a good resource for the APIs I'll be needing (online preferred for faster lookup
)? I'm just starting to experiment with it. =)
Thanks in advance!
I'm not sure if this is the right forum for this, but the program I wish to create uses mostly functions from the Windows API (I think). So I need sources from tech gurus who know or are more familiar with them =)
I wish to create a program that serves as an interface to enable/disable the use of USB/Firewire based devices. But only the Administrator(user) of the PC can set this. So if the USB/Firewire ports have been disabled for a particular local user(not-Admin), he/she will no longer be able to use them.
So my questions are:
1) Is it possible to deny access to particular media for an ordinary user programmatically? Btw, I'll be using VB6.
2) Which Windows DLL has the function that retrieves user/profile names in a WinXP environment? I tried to research this online.. but i seem to be always finding functions not listed in the API viewer of Visual Studio 6.
2) Can you point me to a good resource for the APIs I'll be needing (online preferred for faster lookup
Thanks in advance!