次の方法で共有


_CEDUMP_EXCEPTION_STREAM (Compact 2013)

3/26/2014

This structure contains information about the exception that caused the dump file to be generated.

Syntax

typedef struct _CEDUMP_EXCEPTION_STREAM {
  USHORT SizeOfHeader;
  USHORT SizeOfException;
  USHORT SizeOfThreadContext; 
  USHORT Flags; 
  ULONG32 CurrentProcessId;
  ULONG32 ThreadId;
  ULONG32 OwnerProcessId;
  ULONG32 CaptureAPICurrentProcessId;
  ULONG32 CaptureAPIThreadId;
  ULONG32 CaptureAPIOwnerProcessId;
} CEDUMP_EXCEPTION_STREAM, *PCEDUMP_EXCEPTION_STREAM;

Members

  • SizeOfHeader
    Size of this structure.
  • Flags
    Characteristics of exception.

    The following table shows the characteristic described by each bit of this flag.

    Bit

    Description

    Bit 0

    Indicates this is a first chance exception dump.

    Bit 1

    Indicates CaptureDumpFileOnDevice called.

    Bit 2

    Indicates ReportFault called.

    Bit3

    Indicates exception thread ID matches dump thread.

  • CurrentProcessId
    Identifier for the current process of ThreadId.
  • ThreadId
    Identifier of thread where exception occurred, or focus of CaptureDumpFileOnDevice.
  • OwnerProcessId
    Identifier for the owner process of ThreadId.
  • CaptureAPICurrentProcessId
    Identifier for the current process of CaptureAPIThreadId.
  • CaptureAPIThreadId
    Identifier of the thread that made the call to CaptureDumpFileOnDevice.
  • CaptureAPIOwnerProcessId
    Identifier for the owner process of CaptureAPIThreadId.

Remarks

This structure is used to define the ceStreamException stream.

The exception information stream must be followed by the exception record (_CEDUMP_EXCEPTION, and by the context of the thread _CEDUMP_ELEMENT_LIST.

Additional thread info structures can follow in (n * _CEDUMP_FIELD_INFO).

Requirements

Header

dwcedump.h

See Also

Reference

Dump File Structures

Concepts

Error Reporting Dump Files