The ReleaseActCtx function decrements the reference count of the specified activation context.
void ReleaseActCtx(
HANDLE hActCtx
);
Parameters
hActCtx
[in] Handle to the ACTCTX structure containing information on the activation context for which the reference count is to be decremented.
Return Values
This function does not return a value. On successful completion, the activation context reference count is decremented. The recipient of the reference-counted object must decrement the reference count when the object is no longer needed.
Remarks
When the reference count of an activation context becomes zero, the activation context structure is deallocated. Activation contexts have not been implemented as kernel objects, therefore, kernel handler functions cannot be used for activation contexts.
If the value of the hActCtx parameter is a null handle, this function does nothing and no error condition occurs.
Requirements
Client: Included in Windows XP.
Server: Included in Windows Server 2003 .
Header: Declared in Winbase.h; include Windows.h.
Library: Use Kernel32.lib.