3.1.4.24 R_GetServerGuid (Opnum 33)

The R_GetServerGuid method returns a GUID for this DCOM object.

 HRESULT R_GetServerGuid(
   [out] GUID* pServerGuid
 );

pServerGuid: A GUID uniquely identifying this DCOM object.

Return Values: A signed 32-bit value that indicates return status. If the method returns a negative value, it failed. If the 12-bit facility code (bits 16–27) is set to 0x007, the value contains a Win32 error code in the lower 16 bits. Zero or positive values indicate success, with the lower 16 bits in positive nonzero values containing warnings or flags defined in the method implementation. For more information about Win32 error codes and HRESULT values, see [MS-ERREF].

Return value/code

Description

0x00000000

S_OK

The call was successful.

The opnum field value for this method is 33.

When processing this call, the server MUST do the following:

  • If this is the first time the method has been called on this DCOM object, generate a GUID and return it to the client in the pServerGuid parameter. Subsequent calls to the same DCOM object MUST return the same GUID.