ZombifyActCtx function (winbase.h)

The ZombifyActCtx function deactivates the specified activation context, but does not deallocate it.

Syntax

BOOL ZombifyActCtx(
  [in] HANDLE hActCtx
);

Parameters

[in] hActCtx

Handle to the activation context that is to be deactivated.

Return value

If the function succeeds, it returns TRUE. If a null handle is passed in the hActCtx parameter, NULL_INVALID_PARAMETER will be returned. Otherwise, it returns FALSE.

This function sets errors that can be retrieved by calling GetLastError. For an example, see Retrieving the Last-Error Code. For a complete list of error codes, see System Error Codes.

Remarks

This function is intended for use in debugging threads using activation contexts. If the activation context deactivated by this function is subsequently accessed, the access fails and an assertion failure is shown in the debugger.

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