SetCallBackOnChangeDevList
 SetCallBackOnLicenseStatusChange
 CheckUsbService
 UpdateUsbTree 


SetCallBackOnChangeDevList


void
SetCallBackOnChangeDevList (
IN FNOnChangeDevList pFunc
)

 
Routine Description:

 
Sets the callback function to be called when the device list is changed.

 
Arguments:

 
FNOnChangeDevList - address of the function to be called when the device list is changed.
void (__stdcall *FNOnChangeDevList) () - callback function description.

 
Return Value:

 
None


SetCallBackOnLicenseStatusChange


void
BOOL SetCallBackOnLicenseStatusChange (IN FNOnChangeLicenseStatus pFunc)

 
Routine Description:

 
Sets the callback function to be called when the license status is changed.

 
Arguments:

 
FNOnChangeLicenseStatus - the address of the function to be called when the license status is changed.

 
void (__stdcall *FNOnChangeLicenseStatus) () - callback function description.

 
Return Value:

 
True - if the function was executed successfully. Otherwise the "False" value is returned.


CheckUsbService


BOOL
CheckUsbService (void)

 
Routine Description:

 
Checks whether USB Network Gate service is running.

 
Arguments:

 
None.

 
Return Value:

 
True - if USB Network Gate service is running and is ready to accept commands.


UpdateUsbTree


void
UpdateUsbTree (void)

 
Routine description:

 
Force USB Network Gate service to refresh the USB devices tree.

 
Arguments:

 
None.

 
Return Value:

 
None.