ReleaseActCtx function (winbase.h)

The ReleaseActCtx function decrements the reference count of the specified activation context.

Syntax

void ReleaseActCtx(
  [in] HANDLE hActCtx
);

Parameters

[in] hActCtx

Handle to the ACTCTX structure that contains information on the activation context for which the reference count is to be decremented.

Return value

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.

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

Requirement Value
Minimum supported client Windows XP [desktop apps only]
Minimum supported server Windows Server 2003 [desktop apps only]
Target Platform Windows
Header winbase.h (include Windows.h)
Library Kernel32.lib
DLL Kernel32.dll

See also

ACTCTX

AddRefActCtx