Export (0) Print
Expand All

ReleaseActCtx function

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

Syntax


void ReleaseActCtx(
  _In_  HANDLE hActCtx
);

Parameters

hActCtx [in]

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

Minimum supported client

Windows XP [desktop apps only]

Minimum supported server

Windows Server 2003 [desktop apps only]

Header

Winbase.h (include Windows.h)

Library

Kernel32.lib

DLL

Kernel32.dll

See also

AddRefActCtx
ACTCTX

 

 

Community Additions

ADD
Show:
© 2014 Microsoft