3.1.4.3.1.8 CLUSCTL_RESOURCE_GET_ID

The CLUSCTL_RESOURCE_GET_ID resource control code retrieves the unique ID of the designated resource, as specified in section 3.1.1.1.1.

After successful completion of the method, the server MUST write the resource ID, as a null-terminated Unicode string, to the buffer that is designated by lpOutBuffer<156>. If the lpOutBuffer buffer is not large enough to accommodate the ID string and the terminating Unicode NULL character, error 0x000000EA (ERROR_MORE_DATA) MUST be returned.

The server SHOULD accept a CLUSCTL_RESOURCE_GET_ID resource control code request if its protocol server state is read-only and MUST accept the request for processing if it is in the read/write state, as specified in section 3.1.1.