📄 mpegerr.pas
字号:
unit mpegerr;
interface
const
{/*---
Copyright (c) 1995 Microsoft Corporation
Module Name:
mpegport.mc
Abstract:
Log message file for Mpeg Port Driver
Author:
Robert Nelson (robertn) 04-Sep-95
Revision History:
--*/ }
//
// Status 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| Facility | Code |
// +---+-+-------------------------+-------------------------------+
//
// where
//
// Sev - is the severity code
//
// 00 - Success
// 01 - Informational
// 10 - Warning
// 11 - Error
//
// C - is the Customer code flag
//
// Facility - is the facility code
//
// Code - is the facility's status code
//
//
// 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
// +-+-+-+-+-+---------------------+-------------------------------+
// |S|R|C|N|r| Facility | Code |
// +-+-+-+-+-+---------------------+-------------------------------+
//
// where
//
// S - Severity - indicates success/fail
//
// 0 - Success
// 1 - Fail (COERROR)
//
// R - reserved portion of the facility code, corresponds to NT's
// second severity bit.
//
// C - reserved portion of the facility code, corresponds to NT's
// C field.
//
// N - reserved portion of the facility code. Used to indicate a
// mapped NT status value.
//
// r - reserved portion of the facility code. Reserved for internal
// use. Used to indicate HRESULT values that are not status
// values, but are instead message ids for display strings.
//
// Facility - is the facility code
//
// Code - is the facility's status code
//
//
// Define the facility codes
//
FACILITY_MPEG_STATUS=$106;
//
// Define the severity codes
//
STATUS_SEVERITY_WARNING =$2;
STATUS_SEVERITY_SUCCESS =$0;
STATUS_SEVERITY_INFORMATIONAL =$1;
STATUS_SEVERITY_ERROR =$3;
//
// MessageId: MpegStatusSuccess
//
// MessageText:
//
// MPEG no error.
//
MpegStatusSuccess =$01060000L)
//
// MessageId: MpegStatusPending
//
// MessageText:
//
// MPEG request pending.
//
MpegStatusPending =$01060001;
//
// MessageId: MpegStatusCancelled
//
// MessageText:
//
// MPEG request cancelled.
//
MpegStatusCancelled =$C1060002;
//
// MessageId: MpegStatusNoMore
//
// MessageText:
//
// MPEG no more entries.
//
MpegStatusNoMore =$C1060003;
//
// MessageId: MpegStatusBusy
//
// MessageText:
//
// MPEG device busy.
//
MpegStatusBusy =$C1060004;
//
// MessageId: MpegStatusInvalidParameter
//
// MessageText:
//
// MPEG invalid parameter.
//
MpegStatusInvalidParameter =$C1060005;
//
// MessageId: MpegStatusUnsupported
//
// MessageText:
//
// MPEG request unsupported.
//
MpegStatusUnsupported =$C1060006;
//
// MessageId: MpegStatusResourceFailure
//
// MessageText:
//
// MPEG resource failure.
//
MpegStatusResourceFailure =$C1060007;
//
// MessageId: MpegStatusHardwareFailure
//
// MessageText:
//
// MPEG device failure.
//
MpegStatusHardwareFailure =$C1060008;
//
// MessageId: MpegStatusVersionMismatch
//
// MessageText:
//
// MPEG mismatched component version.
//
MpegStatusVersionMismatch =$C1060009;
//
// MessageId: MpegStatusDeviceNotFound
//
// MessageText:
//
// MPEG device not found.
//
MpegStatusDeviceNotFound =$C106000A;
//
// MessageId: MpegStatusInternalError
//
// MessageText:
//
// MPEG internal error.
//
MpegStatusInternalError =$C106000B;
//
// MessageId: MpegStatusDeviceIOError
//
// MessageText:
//
// MPEG internal error.
//
MpegStatusDeviceIOError =$C106000C;
implementation
end.
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -