📄 msg.h
字号:
//=====[msg.mc]=========================================================================
// Description: Source file (msg.mc)
// Compiled: MS-VC++
// Version: .NET
// Revisions:
// REV DATE BY DESCRIPTION
// ------ -------------- ---------- --------------------------------------
// 1.01 2001/01/01 BDS Initial version.
// This source file (msg.mc) is Copyright(c) 2001 Dmitry Basko.
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that:
// 1. source code distributions retain the above copyright notice and this
// paragraph in its entirety;
// 2. distributions including binary code include the above copyright notice
// and this paragraph in its entirety in the documentation or other materials
// provided with the distribution;
// 3. all advertising materials mentioning features or use of this software
// display the following acknowledgement;
// "This product includes software developed by Dmitry Basko."
// THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR IMPLIED
// WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF
// MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
//=========================================================================================
//
// Values are 32 bit values layed out as follows:
//
// 3 3 2 2 2 2 2 2 2 2 2 2 1 1 1 1 1 1 1 1 1 1
// 1 0 9 8 7 6 5 4 3 2 1 0 9 8 7 6 5 4 3 2 1 0 9 8 7 6 5 4 3 2 1 0
// +---+-+-+-----------------------+-------------------------------+
// |Sev|C|R| Facility | Code |
// +---+-+-+-----------------------+-------------------------------+
//
// where
//
// Sev - is the severity code
//
// 00 - Success
// 01 - Informational
// 10 - Warning
// 11 - Error
//
// C - is the Customer code flag
//
// R - is a reserved bit
//
// Facility - is the facility code
//
// Code - is the facility's status code
//
//
// Define the facility codes
//
#define FACILITY_RPC_STUBS 0x3
#define FACILITY_RPC_RUNTIME 0x2
#define FACILITY_IO_ERROR_CODE 0x4
#define FACILITY_DRIVER_ERROR_CODE 0x7
//
// Define the severity codes
//
#define STATUS_SEVERITY_WARNING 0x2
#define STATUS_SEVERITY_SUCCESS 0x0
#define STATUS_SEVERITY_INFORMATIONAL 0x1
#define STATUS_SEVERITY_ERROR 0x3
//
// MessageId: MSG_LOGGING_ENABLED
//
// MessageText:
//
// Event logging enabled for pcsc_drv.
//
#define MSG_LOGGING_ENABLED ((NTSTATUS)0x40070001L)
//
// MessageId: MSG_DRIVER_STARTING
//
// MessageText:
//
// pcsc_drv was successfully initialized.
//
#define MSG_DRIVER_STARTING ((NTSTATUS)0x40070002L)
//
// MessageId: MSG_DRIVER_STARTING_FAULT
//
// MessageText:
//
// pcsc_drv was not initialized.
//
#define MSG_DRIVER_STARTING_FAULT ((NTSTATUS)0xC0070003L)
//
// MessageId: MSG_OPENING_HANDLE
//
// MessageText:
//
// Opening handle to %1.
//
#define MSG_OPENING_HANDLE ((NTSTATUS)0x40070004L)
//
// MessageId: MSG_CLOSING_HANDLE
//
// MessageText:
//
// Closing handle to %1.
//
#define MSG_CLOSING_HANDLE ((NTSTATUS)0x40070005L)
//
// MessageId: MSG_READING_DATA
//
// MessageText:
//
// <pcsc_drv> Read data request (READ_BINARY) for %1 - Dump data is data read.
//
#define MSG_READING_DATA ((NTSTATUS)0x40070006L)
//
// MessageId: MSG_WRITING_DATA
//
// MessageText:
//
// <pcsc_drv> Write data request for %1 - Dump data is data written.
//
#define MSG_WRITING_DATA ((NTSTATUS)0x40070007L)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -