__C_specific_handler function

Called by the compiler to implement structured exception handling extensions.

The relative address of the language specific handler is present in the UNWIND_INFO whenever flags UNW_FLAG_EHANDLER or UNW_FLAG_UHANDLER are set. The language specific handler is called as part of the search for an exception handler or as part of an unwind. For more information see Language Specific Handler.

Syntax

_CRTIMP  __C_specific_handler(
  _In_    struct _EXCEPTION_RECORD   *ExceptionRecord,
  _In_    void                       *EstablisherFrame,
  _Inout_ struct _CONTEXT            *ContextRecord,
  _Inout_ struct _DISPATCHER_CONTEXT *DispatcherContext
);

Parameters

ExceptionRecord [in]

Supplies a pointer to an exception record, which has the standard Win64 definition.

EstablisherFrame [in]

The address of the base of the fixed stack allocation for this function.

ContextRecord [in, out]

Points to the exception context at the time the exception was raised (in the exception handler case) or the current "unwind" context (in the termination handler case).

DispatcherContext [in, out]

Points to the dispatcher context for this function.

Requirements

Requirement Value
Header
Wdm.h
Library
NtosKrnl.lib
DLL
Ntoskrnl.exe