The ReleaseActCtx function decrements the reference count of the specified activation context.
void ReleaseActCtx( HANDLE hActCtx );
Handle to the ACTCTX structure that contains information on the activation context for which the reference count is to be decremented.
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 required.
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.
|Minimum supported client||Windows XP [desktop apps only]|
|Minimum supported server||Windows Server 2003 [desktop apps only]|
|Header||winbase.h (include Windows.h)|