3.10.4.1.2 ServiceTypeGuid (Opnum 8)

The ServiceTypeGuid method is received by the server in an RPC_REQUEST packet. In response, the server returns a unique identifier, which indicates the type of service that is provided by the referenced queue.

 [propget] HRESULT ServiceTypeGuid(
   [out, retval] BSTR* pbstrGuidServiceType
 );

pbstrGuidServiceType: A pointer to a BSTR that represents a GUID.

Return Values: The method MUST return S_OK (0x00000000) to indicate success or an implementation-specific error HRESULT on failure.

When the server processes this call, it MUST abide by the following contract:

  • If IsRefreshed is FALSE call Refresh (section 3.10.4.1.29).

    • If Refresh returns a value other than S_OK (0x00000000), return the HRESULT returned by Refresh and take no further action.

  • Set the pbstrGuidServiceType output parameter to the value of the refQueue.Type.

  • Return S_OK (0x00000000), and take no further action.