126.96.36.199.41 ApiGetKeySecurity (Opnum 40)
The server SHOULD accept an ApiGetKeySecurity request if its protocol server state is read-only, and the server MUST accept the request for processing if it is in the read/write state, as specified in section 3.1.1.
error_status_t ApiGetKeySecurity( [in] HKEY_RPC hKey, [in] DWORD SecurityInformation, [in, out] PRPC_SECURITY_DESCRIPTOR pRpcSecurityDescriptor );
SecurityInformation: A bitmask, as described in [MS-RRP] section 2.2.10, that indicates the components of the security descriptor to retrieve.
Return Values: The method MUST return the following error codes for the specified conditions.
Return value/code Description
The hKey parameter does not represent a valid HKEY_RPC context handle.
For any other condition, the server MUST set Status to a value that is not one of the values listed in the preceding table. The client MUST treat all values that are not listed in the preceding table the same, except as specified in section 188.8.131.52.