3.1.4.1 AuthzrFreeContext (Opnum 0)

The AuthzrFreeContext method (opnum 0) frees all remote structures and memory associated with the client context identified by the ContextHandle parameter.

 DWORD AuthzrFreeContext(
         [in, out] AUTHZR_HANDLE* ContextHandle);
  

ContextHandle: A pointer to an AUTHZR_HANDLE structure, as defined in section 2.2.1.1. This handle indicates the client context to be freed.

Return Values:

If the function succeeds, it MUST return 0x00000000.

If the function fails, it MUST return a nonzero 32-bit error code.

When a remote authorization server receives this message, it MUST look up the ClientContext structure in the ClientContextTable ADM element and free all structures and memory associated with the ClientContext.