The CLUSCTL_RESOURCE_GET_NETWORK_NAME resource control code SHOULD<152> retrieve the NetBIOS computer name from the designated resource.

The server MUST fail this method using ERROR_INVALID_FUNCTION (0x00000001) if the designated type of the resource does not support the functionality of an alternate computer name.

After successful completion of the method, the server MUST write the computer name, as a null-terminated Unicode string, to the buffer that is designated by lpOutBuffer.

The server SHOULD accept a CLUSCTL_RESOURCE_GET_NETWORK_NAME 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.