Export (0) Print
Expand All

2.2.2.3 RESOURCE_CHANGE

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


0


1


2


3


4


5


6


7


8


9

1
0


1


2


3


4


5


6


7


8


9

2
0


1


2


3


4


5


6


7


8


9

3
0


1

Length

ChangeType

ResourceName (variable)

...

...

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

ChangeType (4 bytes):  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 (variable):  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.

Show:
© 2016 Microsoft