RpcFreeAuthorizationContext function
The RpcFreeAuthorizationContext function frees an Authz context obtained by a previous call to the RpcGetAuthorizationContextForClient function.
Syntax
RPC_STATUS RPC_ENTRY RpcFreeAuthorizationContext( _In_ PVOID *pAuthzClientContext );
Parameters
- pAuthzClientContext [in]
-
Pointer to the previously obtained Authz client context to be freed.
Return value
Successful completion returns RPC_S_OK. This function does not fail unless an invalid parameter is provided.
Remarks
The pAuthzClientContext parameter is a pointer to the Authz context, not the context itself. To prevent accidental reuse of the Authz context freed by this function call, RPC run-time zeros out the context upon return.
Requirements
|
Minimum supported client |
Windows XP [desktop apps only] |
|---|---|
|
Minimum supported server |
Windows Server 2003 [desktop apps only] |
|
Header |
|
|
Library |
|
|
DLL |
|
See also