dwprivate.h

来自「WinCE5.0部分核心源码」· C头文件 代码 · 共 35 行

H
35
字号
//
// Copyright (c) Microsoft Corporation.  All rights reserved.
//
//
// This source code is licensed under Microsoft Shared Source License
// Version 1.0 for Windows CE.
// For a copy of the license visit http://go.microsoft.com/fwlink/?LinkId=3223.
//
#pragma once

typedef enum _CEDUMP_TYPE 
{
    ceDumpTypeUndefined   = 0,
    ceDumpTypeContext     = 1,
    ceDumpTypeSystem      = 2,
    ceDumpTypeComplete    = 3
} CEDUMP_TYPE;

// Used to pass registry settings from DwXfer.dll to OsAccess.dll via reserved memory
typedef struct _WATSON_DUMP_SETTINGS
{
    DWORD       dwSizeOfHeader;         // Size of this struct
    BOOL        fDumpEnabled;           // Indicates that dump generation is enabled
    BOOL        fDumpFirstChance;       // Indicates that dump generation should occure on 1st chance exception
    CEDUMP_TYPE ceDumpType;             // Type of dump file to generate
    DWORD       dwMaxDumpFileSize;      // Max size for dump file 
    DWORD       dwDumpWritten;          // Size of dump file written to reserved memory
    DWORD       dwDumpFileCRC;          // CRC of the dump file in the reserved memory
    WCHAR       wzExtraFilesDirectory[MAX_PATH]; // Path to directory where user app can place extra files
    WCHAR       wzExtraFilesPath[MAX_PATH];      // Path to extra files set by user app to upload with crash dump
} WATSON_DUMP_SETTINGS, *PWATSON_DUMP_SETTINGS;

#define WATSON_TRANSFER_BUFFER_SIZE 4096        // Size of Read/Write buffer for transfer of dump file to file system

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?