3.2.4.3.7 Machine (Opnum 21)
The Machine method is received by the server in an RPC_REQUEST packet. In response, the server MUST return the represented QueueManager.ComputerName.
-
[propget] HRESULT Machine( [out, retval] BSTR* pbstrMachine );
pbstrMachine: A pointer to a BSTR that, when successfully completed, contains the computer name that this object refers to, in DNS or NetBIOS format.
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 follow these guidelines:
If the ComputerName instance variable is NULL:
Set the pbstrMachine output variable to the local QueueManager.ComputerName.
Else:
Set the pbstrMachine output variable to the ComputerName instance variable.