2.2.3.29 CLUSTER_SHARED_VOLUME_STATE_INFO

The CLUSTER_SHARED_VOLUME_STATE_INFO structure contains information about the cluster shared volume for which a notification was generated. See CLUSTER_CHANGE_SHARED_VOLUME_V2 (section 2.2.2.21) for details.<29>

CLUSTER_SHARED_VOLUME_STATE_INFO is a custom-marshaled structure that has the following fields:


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

szVolumeName (520 bytes)

...

...

szNodeName (520 bytes)

...

...

VolumeState

szVolumeName (520 bytes): A buffer of 16-bit Unicode characters that MUST contain the null-terminated friendly name of the cluster shared volume for which the notification was generated. If the volume name plus terminating null character is less than the size of the buffer, the buffer is padded with additional null characters. The client MUST ignore these additional null characters.

szNodeName (520 bytes): A buffer of 16-bit Unicode characters representing the name of the node which generated the notification. This buffer MUST contain the node name as a null-terminated Unicode string. If the node name is less than the size of the buffer, the string MUST be padded with null characters. Any such padding MUST be ignored.

VolumeState (4 bytes): A 32-bit integer that MUST contain one of the following values, indicating the state of the cluster shared volume.

Value

Meaning

SharedVolumeStateUnavailable

0x00000000

The shared volume is unavailable.

SharedVolumeStatePaused

0x00000001

The shared volume is paused.

SharedVolumeStateActive

0x00000002

The shared volume is active.

SharedVolumeStateActiveRedirected

0x00000003

The shared volume is active and in redirected mode.

SharedVolumeStateActiveBlockRedirected

0x00000004

The shared volume is active and in block redirected mode.