3.10.4.1.1 QueueGuid (Opnum 7)
The QueueGuid method is received by the server in an RPC_REQUEST packet. In response, the server returns the Queue.Identifier that uniquely identifies the referenced queue.
-
[propget] HRESULT QueueGuid( [out, retval] BSTR* pbstrGuidQueue );
pbstrGuidQueue: 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 processing this call, the server 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.
If IsApplicationQueue is TRUE and (IsRefreshed is TRUE or IsQueueCreated is TRUE):
Set the pbstrGuidQueue output parameter to the value of refQueue.Identifier.
Else:
Set the pbstrGuidQueue output parameter to NULL.
Return S_OK (0x00000000), and take no further action.