This topic has not yet been rated - Rate this topic

2.2.2.3 RESOURCE_CHANGE

The server notifies the registered client of resource state changes through the use of the RESOURCE_CHANGE structure.

typedef struct _RESOURCE_CHANGE {
    UINT Length;
    UINT32 ChangeType;
    WCHAR ResourceName[];
} RESOURCE_CHANGE;

Length: The size of the resource change notification, in bytes.

ChangeType: Specifies state change of the resource. The following values are used to specify the change type.

Value

Meaning

0x00000000

RESOURCE_STATE_UNKNOWN

0x00000001

RESOURCE_STATE_AVAILABLE

0x000000FF

RESOURCE_STATE_UNAVAILABLE

ResourceName: The null terminated resource name on which the change has been detected. This MUST be either the NetName or IP address provided in a WitnessrRegister call, or an InterfaceGroupName returned to the client in a WitnessrGetInterfaceList response.

 
Did you find this helpful?
(1500 characters remaining)
© 2013 Microsoft. All rights reserved.