⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 dapimsg.h

📁 希望我上传的这些东西可以对搞编程的程序员有点小小的帮助!谢谢!
💻 H
📖 第 1 页 / 共 5 页
字号:
#pragma option push -b -a8 -pc -A- /*P_O_Push*/
/*++ BUILD Version: 0001    // Increment this if a change has global effects

Copyright (c) Microsoft Corp. 1986-1996. All Rights Reserved.

Abstract:

    This file contains the message definitions for the Microsoft Exchange DAPI.DLL.

--*/

//
//  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 the severity codes
//
#define STATUS_SEVERITY_WARNING          0x2
#define STATUS_SEVERITY_SUCCESS          0x0
#define STATUS_SEVERITY_MASK             0x3
#define STATUS_SEVERITY_INFORMATIONAL    0x1
#define STATUS_SEVERITY_ERROR            0x3


//
// MessageId: BERR_SUCCESS
//
// MessageText:
//
//  No error encountered.
//
#define BERR_SUCCESS                     0x00000000L

//
// MessageId: DAPI_FUNCTION_DAPI
//
// MessageText:
//
//  Directory API%0
//
#define DAPI_FUNCTION_DAPI               0x00000001L

//
// MessageId: DAPI_FUNCTION_BIMPORT
//
// MessageText:
//
//  Directory Import%0
//
#define DAPI_FUNCTION_BIMPORT            0x00000002L

//
// MessageId: DAPI_FUNCTION_BEXPORT
//
// MessageText:
//
//  Directory Export%0
//
#define DAPI_FUNCTION_BEXPORT            0x00000003L

//
// MessageId: DAPI_FUNCTION_NTEXPORT
//
// MessageText:
//
//  NT User Extractor%0
//
#define DAPI_FUNCTION_NTEXPORT           0x00000004L

//
// MessageId: DAPI_FUNCTION_NWEXPORT
//
// MessageText:
//
//  NetWare User Extractor%0
//
#define DAPI_FUNCTION_NWEXPORT           0x00000005L

// Progress-bar stuff
//
// MessageId: DAPIMSG_DISPLAY_CURRENT
//
// MessageText:
//
//  Currently processing:  %1%0
//
#define DAPIMSG_DISPLAY_CURRENT          0x00000006L

//
// MessageId: DAPIMSG_DISPLAY_CREATE
//
// MessageText:
//
//  Creating %2:  %1%0
//
#define DAPIMSG_DISPLAY_CREATE           0x00000007L

//
// MessageId: DAPIMSG_DISPLAY_MODIFY
//
// MessageText:
//
//  Modifying %2:  %1%0
//
#define DAPIMSG_DISPLAY_MODIFY           0x00000008L

//
// MessageId: DAPIMSG_DISPLAY_DELETE
//
// MessageText:
//
//  Deleting %2:  %1%0
//
#define DAPIMSG_DISPLAY_DELETE           0x00000009L

//
// MessageId: DAPIMSG_DISPLAY_EXPORTING
//
// MessageText:
//
//  Exporting %2:  %1%0
//
#define DAPIMSG_DISPLAY_EXPORTING        0x0000000AL

//
// MessageId: DAPIMSG_DISPLAY_EXTRACTING
//
// MessageText:
//
//  Extracting user account:  %1%0
//
#define DAPIMSG_DISPLAY_EXTRACTING       0x0000000BL

//
// MessageId: BIMPMSG_INITIALIZING
//
// MessageText:
//
//  Initializing -- Please wait...%0
//
#define BIMPMSG_INITIALIZING             0x0000000CL

//
// MessageId: DAPIMSG_READING
//
// MessageText:
//
//  Reading Users -- Please wait...%0
//
#define DAPIMSG_READING                  0x0000000DL

//
// MessageId: DAPIMSG_PROGRESS_TITLE
//
// MessageText:
//
//  Directory API%0
//
#define DAPIMSG_PROGRESS_TITLE           0x0000000EL

//
// MessageId: BIMPMSG_PROGRESS_TITLE
//
// MessageText:
//
//  Directory Import from %1%0
//
#define BIMPMSG_PROGRESS_TITLE           0x0000000FL

//
// MessageId: BEXPMSG_PROGRESS_TITLE
//
// MessageText:
//
//  Directory Export to %1%0
//
#define BEXPMSG_PROGRESS_TITLE           0x00000010L

//
// MessageId: NTEXPMSG_PROGRESS_TITLE
//
// MessageText:
//
//  Windows NT User Extraction to %1%0
//
#define NTEXPMSG_PROGRESS_TITLE          0x00000011L

//
// MessageId: NWEXPMSG_PROGRESS_TITLE
//
// MessageText:
//
//  NetWare User Extraction to %1%0
//
#define NWEXPMSG_PROGRESS_TITLE          0x00000012L

// >>> The following group of messages are used for start/stop logging and
// >>> for posting completion-notification message boxes for ALL bimport
// >>> processes (bimport, bexport, ntexport, nwexport).
// >>> NOTE:  !!!!PLEASE PLEASE PLEASE be VERY careful about rearranging
// >>>        ANY of the messages in this group.  
// Common strings
//
// MessageId: DAPI_MSG_COMPLETE_TITLE
//
// MessageText:
//
//  %1 Complete%0
//
#define DAPI_MSG_COMPLETE_TITLE          0x00000013L

//
// MessageId: DAPI_MSG_ONE_WARNING
//
// MessageText:
//
//  One warning event was encountered but not logged.
//
#define DAPI_MSG_ONE_WARNING             0x00000014L

//
// MessageId: DAPI_MSG_ONE_WARNING_REPORTED
//
// MessageText:
//
//  One warning description was recorded in the system's application event log.
//
#define DAPI_MSG_ONE_WARNING_REPORTED    0x00000015L

//
// MessageId: DAPI_MSG_WARNINGS
//
// MessageText:
//
//  %1!lu! warning events were encountered but not logged.
//
#define DAPI_MSG_WARNINGS                0x00000016L

//
// MessageId: DAPI_MSG_WARNINGS_REPORTED
//
// MessageText:
//
//  %1!lu! warning descriptions were recorded in the system's application event log.
//
#define DAPI_MSG_WARNINGS_REPORTED       0x00000017L

//
// MessageId: DAPI_MSG_NOERRORS
//
// MessageText:
//
//  No errors were encountered.
//
#define DAPI_MSG_NOERRORS                0x00000018L

//
// MessageId: DAPI_MSG_ONE_ERROR
//
// MessageText:
//
//  One error event was encountered but not logged.
//
#define DAPI_MSG_ONE_ERROR               0x00000019L

//
// MessageId: DAPI_MSG_ONE_ERROR_REPORTED
//
// MessageText:
//
//  One error description was recorded in the system's application event log.
//
#define DAPI_MSG_ONE_ERROR_REPORTED      0x0000001AL

//
// MessageId: DAPI_MSG_ERRORS
//
// MessageText:
//
//  %1!lu! error events were encountered but not logged.
//
#define DAPI_MSG_ERRORS                  0x0000001BL

//
// MessageId: DAPI_MSG_ERRORS_REPORTED
//
// MessageText:
//
//  %1!lu! error descriptions were recorded in the system's application event log.
//
#define DAPI_MSG_ERRORS_REPORTED         0x0000001CL

//
// MessageId: DAPI_MSG_ERRORS_COPIED
//
// MessageText:
//
//  The file %1 contains copies of all object descriptions containing errors.
//
#define DAPI_MSG_ERRORS_COPIED           0x0000001DL

//
// MessageId: DAPI_MSG_PASSWORD_FILE
//
// MessageText:
//
//  %nPlease see %1 for a list of created Windows NT Accounts.
//
#define DAPI_MSG_PASSWORD_FILE           0x0000001EL

// Directory Import start/stop messages
//
// MessageId: BIMPORT_STARTED
//
// MessageText:
//
//  Starting directory import from import file %1.
//
#define BIMPORT_STARTED                  0x4000001FL

//
// MessageId: BIMPORT_COMPLETE
//
// MessageText:
//
//  The directory import from file %1 is complete.
//
#define BIMPORT_COMPLETE                 0x40000020L

//
// MessageId: BIMPORT_COMPLETE_NOFILE
//
// MessageText:
//
//  The directory import is complete.
//
#define BIMPORT_COMPLETE_NOFILE          0x40000021L

//
// MessageId: BIMPORT_CANCELLED
//
// MessageText:
//
//  The directory import from file %1 was canceled by user request.
//
#define BIMPORT_CANCELLED                0x80000022L

//
// MessageId: BIMPORT_CANCELLED_NOFILE
//
// MessageText:
//
//  The directory import was canceled by user request.
//
#define BIMPORT_CANCELLED_NOFILE         0x80000023L

// Directory Export start/stop messages
//
// MessageId: BEXPORT_STARTED
//
// MessageText:
//
//  Starting the directory export to file %1.
//
#define BEXPORT_STARTED                  0x40000024L

//
// MessageId: BEXPORT_COMPLETE
//
// MessageText:
//
//  The directory export to file %1 is complete.
//
#define BEXPORT_COMPLETE                 0x40000025L

//
// MessageId: BEXPORT_COMPLETE_NOFILE
//
// MessageText:
//
//  The directory export is complete.
//
#define BEXPORT_COMPLETE_NOFILE          0x40000026L

//
// MessageId: BEXPORT_CANCELLED
//
// MessageText:
//
//  The directory export to file %1 was canceled by user request.
//
#define BEXPORT_CANCELLED                0x80000027L

//
// MessageId: BEXPORT_CANCELLED_NOFILE
//
// MessageText:
//
//  The directory export was canceled by user request.
//
#define BEXPORT_CANCELLED_NOFILE         0x80000028L

//
// MessageId: BEXPORT_STARTED_NOFILE
//
// MessageText:
//
//  Starting the directory export.
//
#define BEXPORT_STARTED_NOFILE           0x40000029L

// NTExport start/stop/completion messages
//
// MessageId: NTEXPORT_STARTED
//
// MessageText:
//
//  Starting the extraction of Windows NT user account information to file %1.
//
#define NTEXPORT_STARTED                 0x4000002AL

//
// MessageId: NTEXPORT_COMPLETE
//
// MessageText:
//
//  Extraction of Windows NT user account information to file %1 is complete.
//
#define NTEXPORT_COMPLETE                0x4000002BL

//
// MessageId: NTEXPORT_COMPLETE_NOFILE
//
// MessageText:
//
//  Extraction of Windows NT user account information is complete.
//
#define NTEXPORT_COMPLETE_NOFILE         0x4000002CL

//
// MessageId: NTEXPORT_CANCELLED
//
// MessageText:
//
//  Extraction of Windows NT user account information to file %1 was canceled by user request.
//
#define NTEXPORT_CANCELLED               0x8000002DL

//
// MessageId: NTEXPORT_CANCELLED_NOFILE
//
// MessageText:
//
//  Extraction of Windows NT user account information was canceled by user request.
//
#define NTEXPORT_CANCELLED_NOFILE        0x8000002EL

//
// MessageId: NTEXPORT_STARTED_NOFILE
//
// MessageText:
//
//  Starting the extraction of Windows NT user account information.
//
#define NTEXPORT_STARTED_NOFILE          0x4000002FL

// NWExport start/stop/completion messages
//
// MessageId: NWEXPORT_STARTED
//
// MessageText:
//
//  Starting the extraction of NetWare user account information to file %1.
//
#define NWEXPORT_STARTED                 0x40000030L

//
// MessageId: NWEXPORT_COMPLETE
//
// MessageText:
//
//  Extraction of NetWare user account information to file %1 is complete.
//
#define NWEXPORT_COMPLETE                0x40000031L

//
// MessageId: NWEXPORT_COMPLETE_NOFILE
//
// MessageText:
//
//  Extraction of NetWare user account information is complete.
//
#define NWEXPORT_COMPLETE_NOFILE         0x40000032L

//
// MessageId: NWEXPORT_CANCELLED
//
// MessageText:
//
//  Extraction of NetWare user account information to file %1 was canceled by user request.
//
#define NWEXPORT_CANCELLED               0x80000033L

//
// MessageId: NWEXPORT_CANCELLED_NOFILE
//
// MessageText:
//
//  Extraction of NetWare user account information was canceled by user request.
//
#define NWEXPORT_CANCELLED_NOFILE        0x80000034L

//
// MessageId: NWEXPORT_STARTED_NOFILE
//
// MessageText:
//
//  Starting the extraction of NetWare user account information.
//
#define NWEXPORT_STARTED_NOFILE          0x40000035L

// <<<< End of block containing start/stop/completion messages
// -------------------     DAPI Errors              -----------------------
//
// MessageId: BERR_GENERAL_FAILURE
//
// MessageText:
//
//  A general failure occurred.
//
#define BERR_GENERAL_FAILURE             0xC0000080L

//
// MessageId: DAPI_E_BAD_HANDLE
//
// MessageText:
//
//  A bad DAPI handle supplied to call.
//
#define DAPI_E_BAD_HANDLE                0xC0000081L    

//
// MessageId: DAPI_E_HEADER_MUST_BE_TEXT
//
// MessageText:
//
//  Header values must be specified as text strings.
//
#define DAPI_E_HEADER_MUST_BE_TEXT       0xC0000082L    

//

⌨️ 快捷键说明

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