3.10.4.1.12 PrivLevel (Opnum 18)

The PrivLevel method is received by the server in an RPC_REQUEST packet. In response, the server sets the privacy level of the referenced queue.

 [propput] HRESULT PrivLevel(
   [in] long lPrivLevel
 );

lPrivLevel: A long that corresponds to one of the MQPRIVLEVEL (section 2.2.2.7) enumeration values.

Return Values: The method MUST return S_OK (0x00000000).

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

  • Set refQueue.PrivacyLevel to the value of the lPrivLevel input parameter as per the mapping defined in MQPRIVLEVEL (section 2.2.2.7).

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