mirror of
https://github.com/reactos/reactos.git
synced 2024-11-04 22:00:55 +00:00
Reintegrate header branch part 4/x
- don't prepend ddk/ before the header includes - move atsmedia.h to psdk - add mce.h, devpropdef.h, evntprov.h, ntiologc.h to psdk - replace ntstatus.h svn path=/trunk/; revision=46548
This commit is contained in:
parent
6a40b4927e
commit
4656583b21
10 changed files with 2825 additions and 1147 deletions
|
@ -1,10 +1,10 @@
|
|||
|
||||
/* DDK/NDK/SDK Headers */
|
||||
#include <ddk/ntddk.h>
|
||||
#include <ddk/ntddmou.h>
|
||||
#include <ddk/ntifs.h>
|
||||
#include <ddk/tvout.h>
|
||||
#include <ndk/ntndk.h>
|
||||
#include <ntddk.h>
|
||||
#include <ntddmou.h>
|
||||
#include <ntifs.h>
|
||||
#include <tvout.h>
|
||||
#include <ntndk.h>
|
||||
|
||||
#include <stdarg.h>
|
||||
#include <windef.h>
|
||||
|
@ -16,7 +16,7 @@
|
|||
#include <dde.h>
|
||||
|
||||
|
||||
#include <ddk/ddkmapi.h>
|
||||
#include <ddkmapi.h>
|
||||
|
||||
/* Prototypes */
|
||||
VOID DxGetVersionNumber(PVOID lpvInBuffer, LPDDGETVERSIONNUMBER lpvOutBuffer);
|
||||
|
|
|
@ -1,9 +1,9 @@
|
|||
/* DDK/NDK/SDK Headers */
|
||||
#include <ddk/ntddk.h>
|
||||
#include <ddk/ntddmou.h>
|
||||
#include <ddk/ntifs.h>
|
||||
#include <ddk/tvout.h>
|
||||
#include <ndk/ntndk.h>
|
||||
#include <ntddk.h>
|
||||
#include <ntddmou.h>
|
||||
#include <ntifs.h>
|
||||
#include <tvout.h>
|
||||
#include <ntndk.h>
|
||||
|
||||
/* Win32 Headers */
|
||||
#define WINBASEAPI
|
||||
|
|
|
@ -1,17 +0,0 @@
|
|||
|
||||
/* $Id: $
|
||||
*
|
||||
* COPYRIGHT: This file is in the public domain.
|
||||
* PROJECT: ReactOS kernel
|
||||
* FILE:
|
||||
* PURPOSE: headers
|
||||
* PROGRAMMER: Magnus Olsen (greatlrd)
|
||||
*
|
||||
*/
|
||||
|
||||
#if !defined(_ATSCMEDIA_)
|
||||
#define _ATSCMEDIA_
|
||||
#define BDANETWORKTYPE_ATSC DEFINE_GUIDNAMED(BDANETWORKTYPE_ATSC)
|
||||
#define STATIC_BDANETWORKTYPE_ATSC 0x71985F51, 0x1CA1, 0x11D3, 0x9C, 0xC8, 0x0, 0xC0, 0x4F, 0x79, 0x71, 0xE0
|
||||
DEFINE_GUIDSTRUCT("71985F51-1CA1-11D3-9CC8-00C04F7971E0", BDANETWORKTYPE_ATSC);
|
||||
#endif
|
1074
reactos/include/ddk/mce.h
Normal file
1074
reactos/include/ddk/mce.h
Normal file
File diff suppressed because it is too large
Load diff
7
reactos/include/psdk/atsmedia.h
Normal file
7
reactos/include/psdk/atsmedia.h
Normal file
|
@ -0,0 +1,7 @@
|
|||
#pragma once
|
||||
|
||||
#define BDANETWORKTYPE_ATSC DEFINE_GUIDNAMED(BDANETWORKTYPE_ATSC)
|
||||
|
||||
#define STATIC_BDANETWORKTYPE_ATSC 0x71985F51, 0x1CA1, 0x11D3, 0x9C, 0xC8, 0x0, 0xC0, 0x4F, 0x79, 0x71, 0xE0
|
||||
|
||||
DEFINE_GUIDSTRUCT("71985F51-1CA1-11D3-9CC8-00C04F7971E0", BDANETWORKTYPE_ATSC);
|
84
reactos/include/psdk/devpropdef.h
Normal file
84
reactos/include/psdk/devpropdef.h
Normal file
|
@ -0,0 +1,84 @@
|
|||
#ifndef _DEVPROPDEF_H_
|
||||
#define _DEVPROPDEF_H_
|
||||
|
||||
typedef ULONG DEVPROPTYPE, *PDEVPROPTYPE;
|
||||
|
||||
#define DEVPROP_TYPEMOD_ARRAY 0x00001000
|
||||
#define DEVPROP_TYPEMOD_LIST 0x00002000
|
||||
|
||||
#define DEVPROP_TYPE_EMPTY 0x00000000
|
||||
#define DEVPROP_TYPE_NULL 0x00000001
|
||||
#define DEVPROP_TYPE_SBYTE 0x00000002
|
||||
#define DEVPROP_TYPE_BYTE 0x00000003
|
||||
#define DEVPROP_TYPE_INT16 0x00000004
|
||||
#define DEVPROP_TYPE_UINT16 0x00000005
|
||||
#define DEVPROP_TYPE_INT32 0x00000006
|
||||
#define DEVPROP_TYPE_UINT32 0x00000007
|
||||
#define DEVPROP_TYPE_INT64 0x00000008
|
||||
#define DEVPROP_TYPE_UINT64 0x00000009
|
||||
#define DEVPROP_TYPE_FLOAT 0x0000000A
|
||||
#define DEVPROP_TYPE_DOUBLE 0x0000000B
|
||||
#define DEVPROP_TYPE_DECIMAL 0x0000000C
|
||||
#define DEVPROP_TYPE_GUID 0x0000000D
|
||||
#define DEVPROP_TYPE_CURRENCY 0x0000000E
|
||||
#define DEVPROP_TYPE_DATE 0x0000000F
|
||||
#define DEVPROP_TYPE_FILETIME 0x00000010
|
||||
#define DEVPROP_TYPE_BOOLEAN 0x00000011
|
||||
#define DEVPROP_TYPE_STRING 0x00000012
|
||||
#define DEVPROP_TYPE_STRING_LIST (DEVPROP_TYPE_STRING|DEVPROP_TYPEMOD_LIST)
|
||||
#define DEVPROP_TYPE_SECURITY_DESCRIPTOR 0x00000013
|
||||
#define DEVPROP_TYPE_SECURITY_DESCRIPTOR_STRING 0x00000014
|
||||
#define DEVPROP_TYPE_DEVPROPKEY 0x00000015
|
||||
#define DEVPROP_TYPE_DEVPROPTYPE 0x00000016
|
||||
#define DEVPROP_TYPE_BINARY (DEVPROP_TYPE_BYTE|DEVPROP_TYPEMOD_ARRAY)
|
||||
#define DEVPROP_TYPE_ERROR 0x00000017
|
||||
#define DEVPROP_TYPE_NTSTATUS 0x00000018
|
||||
#define DEVPROP_TYPE_STRING_INDIRECT 0x00000019
|
||||
|
||||
#define MAX_DEVPROP_TYPE 0x00000019
|
||||
#define MAX_DEVPROP_TYPEMOD 0x00002000
|
||||
|
||||
#define DEVPROP_MASK_TYPE 0x00000FFF
|
||||
#define DEVPROP_MASK_TYPEMOD 0x0000F000
|
||||
|
||||
typedef CHAR DEVPROP_BOOLEAN, *PDEVPROP_BOOLEAN;
|
||||
|
||||
#define DEVPROP_TRUE ((DEVPROP_BOOLEAN)-1)
|
||||
#define DEVPROP_FALSE ((DEVPROP_BOOLEAN) 0)
|
||||
|
||||
#ifndef DEVPROPKEY_DEFINED
|
||||
#define DEVPROPKEY_DEFINED
|
||||
|
||||
typedef GUID DEVPROPGUID, *PDEVPROPGUID;
|
||||
typedef ULONG DEVPROPID, *PDEVPROPID;
|
||||
|
||||
typedef struct _DEVPROPKEY {
|
||||
DEVPROPGUID fmtid;
|
||||
DEVPROPID pid;
|
||||
} DEVPROPKEY, *PDEVPROPKEY;
|
||||
|
||||
#endif /* DEVPROPKEY_DEFINED */
|
||||
|
||||
#define DEVPROPID_FIRST_USABLE 2
|
||||
|
||||
#endif /* _DEVPROPDEF_H_ */
|
||||
|
||||
#ifdef DEFINE_DEVPROPKEY
|
||||
#undef DEFINE_DEVPROPKEY
|
||||
#endif
|
||||
#ifdef INITGUID
|
||||
#define DEFINE_DEVPROPKEY(name, l, w1, w2, b1, b2, b3, b4, b5, b6, b7, b8, pid) EXTERN_C const DEVPROPKEY DECLSPEC_SELECTANY name = {{ l, w1, w2, {b1, b2, b3, b4, b5, b6, b7, b8}}, pid}
|
||||
#else
|
||||
#define DEFINE_DEVPROPKEY(name, l, w1, w2, b1, b2, b3, b4, b5, b6, b7, b8, pid) EXTERN_C const DEVPROPKEY name
|
||||
#endif /* INITGUID */
|
||||
|
||||
#ifndef IsEqualDevPropKey
|
||||
|
||||
#ifdef __cplusplus
|
||||
#define IsEqualDevPropKey(a, b) (((a).pid == (b).pid) && IsEqualIID((a).fmtid, (b).fmtid))
|
||||
#else
|
||||
#define IsEqualDevPropKey(a, b) (((a).pid == (b).pid) && IsEqualIID(&(a).fmtid, &(b).fmtid))
|
||||
#endif
|
||||
|
||||
#endif /* !IsEqualDevPropKey */
|
||||
|
335
reactos/include/psdk/evntprov.h
Normal file
335
reactos/include/psdk/evntprov.h
Normal file
|
@ -0,0 +1,335 @@
|
|||
#pragma once
|
||||
|
||||
#ifndef EVNTAPI
|
||||
#ifndef MIDL_PASS
|
||||
#ifdef _EVNT_SOURCE_
|
||||
#define EVNTAPI __stdcall
|
||||
#else
|
||||
#define EVNTAPI DECLSPEC_IMPORT __stdcall
|
||||
#endif /* _EVNT_SOURCE_ */
|
||||
#endif /* MIDL_PASS */
|
||||
#endif /* EVNTAPI */
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
#define EVENT_MIN_LEVEL (0)
|
||||
#define EVENT_MAX_LEVEL (0xff)
|
||||
|
||||
#define EVENT_ACTIVITY_CTRL_GET_ID (1)
|
||||
#define EVENT_ACTIVITY_CTRL_SET_ID (2)
|
||||
#define EVENT_ACTIVITY_CTRL_CREATE_ID (3)
|
||||
#define EVENT_ACTIVITY_CTRL_GET_SET_ID (4)
|
||||
#define EVENT_ACTIVITY_CTRL_CREATE_SET_ID (5)
|
||||
|
||||
typedef ULONGLONG REGHANDLE, *PREGHANDLE;
|
||||
|
||||
#define MAX_EVENT_DATA_DESCRIPTORS (128)
|
||||
#define MAX_EVENT_FILTER_DATA_SIZE (1024)
|
||||
|
||||
#define EVENT_FILTER_TYPE_SCHEMATIZED (0x80000000)
|
||||
|
||||
typedef struct _EVENT_DATA_DESCRIPTOR {
|
||||
ULONGLONG Ptr;
|
||||
ULONG Size;
|
||||
ULONG Reserved;
|
||||
} EVENT_DATA_DESCRIPTOR, *PEVENT_DATA_DESCRIPTOR;
|
||||
|
||||
typedef struct _EVENT_DESCRIPTOR {
|
||||
USHORT Id;
|
||||
UCHAR Version;
|
||||
UCHAR Channel;
|
||||
UCHAR Level;
|
||||
UCHAR Opcode;
|
||||
USHORT Task;
|
||||
ULONGLONG Keyword;
|
||||
} EVENT_DESCRIPTOR, *PEVENT_DESCRIPTOR;
|
||||
typedef const EVENT_DESCRIPTOR *PCEVENT_DESCRIPTOR;
|
||||
|
||||
typedef struct _EVENT_FILTER_DESCRIPTOR {
|
||||
ULONGLONG Ptr;
|
||||
ULONG Size;
|
||||
ULONG Type;
|
||||
} EVENT_FILTER_DESCRIPTOR, *PEVENT_FILTER_DESCRIPTOR;
|
||||
|
||||
typedef struct _EVENT_FILTER_HEADER {
|
||||
USHORT Id;
|
||||
UCHAR Version;
|
||||
UCHAR Reserved[5];
|
||||
ULONGLONG InstanceId;
|
||||
ULONG Size;
|
||||
ULONG NextOffset;
|
||||
} EVENT_FILTER_HEADER, *PEVENT_FILTER_HEADER;
|
||||
|
||||
#ifndef _ETW_KM_
|
||||
|
||||
typedef VOID
|
||||
(NTAPI *PENABLECALLBACK)(
|
||||
IN LPCGUID SourceId,
|
||||
IN ULONG IsEnabled,
|
||||
IN UCHAR Level,
|
||||
IN ULONGLONG MatchAnyKeyword,
|
||||
IN ULONGLONG MatchAllKeyword,
|
||||
IN PEVENT_FILTER_DESCRIPTOR FilterData OPTIONAL,
|
||||
IN OUT PVOID CallbackContext OPTIONAL);
|
||||
|
||||
#if (WINVER >= _WIN32_WINNT_VISTA)
|
||||
ULONG
|
||||
EVNTAPI
|
||||
EventRegister(
|
||||
IN LPCGUID ProviderId,
|
||||
IN PENABLECALLBACK EnableCallback OPTIONAL,
|
||||
IN PVOID CallbackContext OPTIONAL,
|
||||
OUT PREGHANDLE RegHandle);
|
||||
|
||||
ULONG
|
||||
EVNTAPI
|
||||
EventUnregister(
|
||||
IN REGHANDLE RegHandle);
|
||||
|
||||
BOOLEAN
|
||||
EVNTAPI
|
||||
EventEnabled(
|
||||
IN REGHANDLE RegHandle,
|
||||
IN PCEVENT_DESCRIPTOR EventDescriptor);
|
||||
|
||||
BOOLEAN
|
||||
EVNTAPI
|
||||
EventProviderEnabled(
|
||||
IN REGHANDLE RegHandle,
|
||||
IN UCHAR Level,
|
||||
IN ULONGLONG Keyword);
|
||||
|
||||
ULONG
|
||||
EVNTAPI
|
||||
EventWrite(
|
||||
IN REGHANDLE RegHandle,
|
||||
IN PCEVENT_DESCRIPTOR EventDescriptor,
|
||||
IN ULONG UserDataCount,
|
||||
IN PEVENT_DATA_DESCRIPTOR UserData);
|
||||
|
||||
ULONG
|
||||
EVNTAPI
|
||||
EventWriteTransfer(
|
||||
IN REGHANDLE RegHandle,
|
||||
IN PCEVENT_DESCRIPTOR EventDescriptor,
|
||||
IN LPCGUID ActivityId OPTIONAL,
|
||||
IN LPCGUID RelatedActivityId OPTIONAL,
|
||||
IN ULONG UserDataCount,
|
||||
IN PEVENT_DATA_DESCRIPTOR UserData OPTIONAL);
|
||||
|
||||
ULONG
|
||||
EVNTAPI
|
||||
EventWriteString(
|
||||
IN REGHANDLE RegHandle,
|
||||
IN UCHAR Level,
|
||||
IN ULONGLONG Keyword,
|
||||
IN PCWSTR String);
|
||||
|
||||
ULONG
|
||||
EVNTAPI
|
||||
EventActivityIdControl(
|
||||
IN ULONG ControlCode,
|
||||
IN OUT LPGUID ActivityId);
|
||||
|
||||
#endif /* (WINVER >= _WIN32_WINNT_VISTA) */
|
||||
|
||||
#if (WINVER >= _WIN32_WINNT_WIN7)
|
||||
ULONG
|
||||
EVNTAPI
|
||||
EventWriteEx(
|
||||
IN REGHANDLE RegHandle,
|
||||
IN PCEVENT_DESCRIPTOR EventDescriptor,
|
||||
IN ULONG64 Filter,
|
||||
IN ULONG Flags,
|
||||
IN LPCGUID ActivityId OPTIONAL,
|
||||
IN LPCGUID RelatedActivityId OPTIONAL,
|
||||
IN ULONG UserDataCount,
|
||||
IN PEVENT_DATA_DESCRIPTOR UserData OPTIONAL);
|
||||
#endif
|
||||
|
||||
#endif // _ETW_KM_
|
||||
|
||||
FORCEINLINE
|
||||
VOID
|
||||
EventDataDescCreate(
|
||||
OUT PEVENT_DATA_DESCRIPTOR EventDataDescriptor,
|
||||
IN const VOID* DataPtr,
|
||||
IN ULONG DataSize)
|
||||
{
|
||||
EventDataDescriptor->Ptr = (ULONGLONG)(ULONG_PTR)DataPtr;
|
||||
EventDataDescriptor->Size = DataSize;
|
||||
EventDataDescriptor->Reserved = 0;
|
||||
}
|
||||
|
||||
FORCEINLINE
|
||||
VOID
|
||||
EventDescCreate(
|
||||
OUT PEVENT_DESCRIPTOR EventDescriptor,
|
||||
IN USHORT Id,
|
||||
IN UCHAR Version,
|
||||
IN UCHAR Channel,
|
||||
IN UCHAR Level,
|
||||
IN USHORT Task,
|
||||
IN UCHAR Opcode,
|
||||
IN ULONGLONG Keyword)
|
||||
{
|
||||
EventDescriptor->Id = Id;
|
||||
EventDescriptor->Version = Version;
|
||||
EventDescriptor->Channel = Channel;
|
||||
EventDescriptor->Level = Level;
|
||||
EventDescriptor->Task = Task;
|
||||
EventDescriptor->Opcode = Opcode;
|
||||
EventDescriptor->Keyword = Keyword;
|
||||
}
|
||||
|
||||
FORCEINLINE
|
||||
VOID
|
||||
EventDescZero(
|
||||
OUT PEVENT_DESCRIPTOR EventDescriptor)
|
||||
{
|
||||
memset(EventDescriptor, 0, sizeof(EVENT_DESCRIPTOR));
|
||||
}
|
||||
|
||||
FORCEINLINE
|
||||
USHORT
|
||||
EventDescGetId(
|
||||
IN PCEVENT_DESCRIPTOR EventDescriptor)
|
||||
{
|
||||
return (EventDescriptor->Id);
|
||||
}
|
||||
|
||||
FORCEINLINE
|
||||
UCHAR
|
||||
EventDescGetVersion(
|
||||
IN PCEVENT_DESCRIPTOR EventDescriptor)
|
||||
{
|
||||
return (EventDescriptor->Version);
|
||||
}
|
||||
|
||||
FORCEINLINE
|
||||
USHORT
|
||||
EventDescGetTask(
|
||||
IN PCEVENT_DESCRIPTOR EventDescriptor)
|
||||
{
|
||||
return (EventDescriptor->Task);
|
||||
}
|
||||
|
||||
FORCEINLINE
|
||||
UCHAR
|
||||
EventDescGetOpcode(
|
||||
IN PCEVENT_DESCRIPTOR EventDescriptor)
|
||||
{
|
||||
return (EventDescriptor->Opcode);
|
||||
}
|
||||
|
||||
FORCEINLINE
|
||||
UCHAR
|
||||
EventDescGetChannel(
|
||||
IN PCEVENT_DESCRIPTOR EventDescriptor)
|
||||
{
|
||||
return (EventDescriptor->Channel);
|
||||
}
|
||||
|
||||
FORCEINLINE
|
||||
UCHAR
|
||||
EventDescGetLevel(
|
||||
IN PCEVENT_DESCRIPTOR EventDescriptor)
|
||||
{
|
||||
return (EventDescriptor->Level);
|
||||
}
|
||||
|
||||
FORCEINLINE
|
||||
ULONGLONG
|
||||
EventDescGetKeyword(
|
||||
IN PCEVENT_DESCRIPTOR EventDescriptor)
|
||||
{
|
||||
return (EventDescriptor->Keyword);
|
||||
}
|
||||
|
||||
FORCEINLINE
|
||||
PEVENT_DESCRIPTOR
|
||||
EventDescSetId(
|
||||
IN PEVENT_DESCRIPTOR EventDescriptor,
|
||||
IN USHORT Id)
|
||||
{
|
||||
EventDescriptor->Id = Id;
|
||||
return (EventDescriptor);
|
||||
}
|
||||
|
||||
FORCEINLINE
|
||||
PEVENT_DESCRIPTOR
|
||||
EventDescSetVersion(
|
||||
IN PEVENT_DESCRIPTOR EventDescriptor,
|
||||
IN UCHAR Version)
|
||||
{
|
||||
EventDescriptor->Version = Version;
|
||||
return (EventDescriptor);
|
||||
}
|
||||
|
||||
FORCEINLINE
|
||||
PEVENT_DESCRIPTOR
|
||||
EventDescSetTask(
|
||||
IN PEVENT_DESCRIPTOR EventDescriptor,
|
||||
IN USHORT Task)
|
||||
{
|
||||
EventDescriptor->Task = Task;
|
||||
return (EventDescriptor);
|
||||
}
|
||||
|
||||
FORCEINLINE
|
||||
PEVENT_DESCRIPTOR
|
||||
EventDescSetOpcode(
|
||||
IN PEVENT_DESCRIPTOR EventDescriptor,
|
||||
IN UCHAR Opcode)
|
||||
{
|
||||
EventDescriptor->Opcode = Opcode;
|
||||
return (EventDescriptor);
|
||||
}
|
||||
|
||||
FORCEINLINE
|
||||
PEVENT_DESCRIPTOR
|
||||
EventDescSetLevel(
|
||||
IN PEVENT_DESCRIPTOR EventDescriptor,
|
||||
IN UCHAR Level)
|
||||
{
|
||||
EventDescriptor->Level = Level;
|
||||
return (EventDescriptor);
|
||||
}
|
||||
|
||||
FORCEINLINE
|
||||
PEVENT_DESCRIPTOR
|
||||
EventDescSetChannel(
|
||||
IN PEVENT_DESCRIPTOR EventDescriptor,
|
||||
IN UCHAR Channel)
|
||||
{
|
||||
EventDescriptor->Channel = Channel;
|
||||
return (EventDescriptor);
|
||||
}
|
||||
|
||||
FORCEINLINE
|
||||
PEVENT_DESCRIPTOR
|
||||
EventDescSetKeyword(
|
||||
IN PEVENT_DESCRIPTOR EventDescriptor,
|
||||
IN ULONGLONG Keyword)
|
||||
{
|
||||
EventDescriptor->Keyword = Keyword;
|
||||
return (EventDescriptor);
|
||||
}
|
||||
|
||||
|
||||
FORCEINLINE
|
||||
PEVENT_DESCRIPTOR
|
||||
EventDescOrKeyword(
|
||||
IN PEVENT_DESCRIPTOR EventDescriptor,
|
||||
IN ULONGLONG Keyword)
|
||||
{
|
||||
EventDescriptor->Keyword |= Keyword;
|
||||
return (EventDescriptor);
|
||||
}
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
152
reactos/include/psdk/ntiologc.h
Normal file
152
reactos/include/psdk/ntiologc.h
Normal file
|
@ -0,0 +1,152 @@
|
|||
#pragma once
|
||||
|
||||
#define FACILITY_RPC_RUNTIME 0x2
|
||||
#define FACILITY_RPC_STUBS 0x3
|
||||
#define FACILITY_IO_ERROR_CODE 0x4
|
||||
#define FACILITY_MCA_ERROR_CODE 0x5
|
||||
|
||||
#define IO_ERR_RETRY_SUCCEEDED ((NTSTATUS)0x00040001L)
|
||||
#define IO_ERR_INSUFFICIENT_RESOURCES ((NTSTATUS)0xC0040002L)
|
||||
#define IO_ERR_CONFIGURATION_ERROR ((NTSTATUS)0xC0040003L)
|
||||
#define IO_ERR_DRIVER_ERROR ((NTSTATUS)0xC0040004L)
|
||||
#define IO_ERR_PARITY ((NTSTATUS)0xC0040005L)
|
||||
#define IO_ERR_SEEK_ERROR ((NTSTATUS)0xC0040006L)
|
||||
#define IO_ERR_BAD_BLOCK ((NTSTATUS)0xC0040007L)
|
||||
#define IO_ERR_OVERRUN_ERROR ((NTSTATUS)0xC0040008L)
|
||||
#define IO_ERR_TIMEOUT ((NTSTATUS)0xC0040009L)
|
||||
#define IO_ERR_SEQUENCE ((NTSTATUS)0xC004000AL)
|
||||
#define IO_ERR_CONTROLLER_ERROR ((NTSTATUS)0xC004000BL)
|
||||
#define IO_ERR_INTERNAL_ERROR ((NTSTATUS)0xC004000CL)
|
||||
#define IO_ERR_INCORRECT_IRQL ((NTSTATUS)0xC004000DL)
|
||||
#define IO_ERR_INVALID_IOBASE ((NTSTATUS)0xC004000EL)
|
||||
#define IO_ERR_NOT_READY ((NTSTATUS)0xC004000FL)
|
||||
#define IO_ERR_INVALID_REQUEST ((NTSTATUS)0xC0040010L)
|
||||
#define IO_ERR_VERSION ((NTSTATUS)0xC0040011L)
|
||||
#define IO_ERR_LAYERED_FAILURE ((NTSTATUS)0xC0040012L)
|
||||
#define IO_ERR_RESET ((NTSTATUS)0xC0040013L)
|
||||
#define IO_ERR_PROTOCOL ((NTSTATUS)0xC0040014L)
|
||||
#define IO_ERR_MEMORY_CONFLICT_DETECTED ((NTSTATUS)0xC0040015L)
|
||||
#define IO_ERR_PORT_CONFLICT_DETECTED ((NTSTATUS)0xC0040016L)
|
||||
#define IO_ERR_DMA_CONFLICT_DETECTED ((NTSTATUS)0xC0040017L)
|
||||
#define IO_ERR_IRQ_CONFLICT_DETECTED ((NTSTATUS)0xC0040018L)
|
||||
#define IO_ERR_BAD_FIRMWARE ((NTSTATUS)0xC0040019L)
|
||||
#define IO_WRN_BAD_FIRMWARE ((NTSTATUS)0x8004001AL)
|
||||
#define IO_ERR_DMA_RESOURCE_CONFLICT ((NTSTATUS)0xC004001BL)
|
||||
#define IO_ERR_INTERRUPT_RESOURCE_CONFLICT ((NTSTATUS)0xC004001CL)
|
||||
#define IO_ERR_MEMORY_RESOURCE_CONFLICT ((NTSTATUS)0xC004001DL)
|
||||
#define IO_ERR_PORT_RESOURCE_CONFLICT ((NTSTATUS)0xC004001EL)
|
||||
#define IO_BAD_BLOCK_WITH_NAME ((NTSTATUS)0xC004001FL)
|
||||
#define IO_WRITE_CACHE_ENABLED ((NTSTATUS)0x80040020L)
|
||||
#define IO_RECOVERED_VIA_ECC ((NTSTATUS)0x80040021L)
|
||||
#define IO_WRITE_CACHE_DISABLED ((NTSTATUS)0x80040022L)
|
||||
#define IO_FILE_QUOTA_THRESHOLD ((NTSTATUS)0x40040024L)
|
||||
#define IO_FILE_QUOTA_LIMIT ((NTSTATUS)0x40040025L)
|
||||
#define IO_FILE_QUOTA_STARTED ((NTSTATUS)0x40040026L)
|
||||
#define IO_FILE_QUOTA_SUCCEEDED ((NTSTATUS)0x40040027L)
|
||||
#define IO_FILE_QUOTA_FAILED ((NTSTATUS)0x80040028L)
|
||||
#define IO_FILE_SYSTEM_CORRUPT ((NTSTATUS)0xC0040029L)
|
||||
#define IO_FILE_QUOTA_CORRUPT ((NTSTATUS)0xC004002AL)
|
||||
#define IO_SYSTEM_SLEEP_FAILED ((NTSTATUS)0xC004002BL)
|
||||
#define IO_DUMP_POINTER_FAILURE ((NTSTATUS)0xC004002CL)
|
||||
#define IO_DUMP_DRIVER_LOAD_FAILURE ((NTSTATUS)0xC004002DL)
|
||||
#define IO_DUMP_INITIALIZATION_FAILURE ((NTSTATUS)0xC004002EL)
|
||||
#define IO_DUMP_DUMPFILE_CONFLICT ((NTSTATUS)0xC004002FL)
|
||||
#define IO_DUMP_DIRECT_CONFIG_FAILED ((NTSTATUS)0xC0040030L)
|
||||
#define IO_DUMP_PAGE_CONFIG_FAILED ((NTSTATUS)0xC0040031L)
|
||||
#define IO_LOST_DELAYED_WRITE ((NTSTATUS)0x80040032L)
|
||||
#define IO_WARNING_PAGING_FAILURE ((NTSTATUS)0x80040033L)
|
||||
#define IO_WRN_FAILURE_PREDICTED ((NTSTATUS)0x80040034L)
|
||||
#define IO_WARNING_INTERRUPT_STILL_PENDING ((NTSTATUS)0x80040035L)
|
||||
#define IO_DRIVER_CANCEL_TIMEOUT ((NTSTATUS)0x80040036L)
|
||||
#define IO_FILE_SYSTEM_CORRUPT_WITH_NAME ((NTSTATUS)0xC0040037L)
|
||||
#define IO_WARNING_ALLOCATION_FAILED ((NTSTATUS)0x80040038L)
|
||||
#define IO_WARNING_LOG_FLUSH_FAILED ((NTSTATUS)0x80040039L)
|
||||
#define IO_WARNING_DUPLICATE_SIGNATURE ((NTSTATUS)0x8004003AL)
|
||||
#define IO_WARNING_DUPLICATE_PATH ((NTSTATUS)0x8004003BL)
|
||||
#define IO_ERR_THREAD_STUCK_IN_DEVICE_DRIVER ((NTSTATUS)0xC004006CL)
|
||||
#define IO_ERR_PORT_TIMEOUT ((NTSTATUS)0xC0040075L)
|
||||
#define IO_WARNING_BUS_RESET ((NTSTATUS)0x80040076L)
|
||||
#define IO_INFO_THROTTLE_COMPLETE ((NTSTATUS)0x40040077L)
|
||||
#define IO_WARNING_RESET ((NTSTATUS)0x80040081L)
|
||||
#define IO_FILE_SYSTEM_REPAIR_SUCCESS ((NTSTATUS)0x80040082L)
|
||||
#define IO_FILE_SYSTEM_REPAIR_FAILED ((NTSTATUS)0xC0040083L)
|
||||
#define IO_WARNING_WRITE_FUA_PROBLEM ((NTSTATUS)0x80040084L)
|
||||
#define IO_CDROM_EXCLUSIVE_LOCK ((NTSTATUS)0x40040085L)
|
||||
#define IO_FILE_SYSTEM_TXF_RECOVERY_FAILURE ((NTSTATUS)0x80040086L)
|
||||
#define IO_FILE_SYSTEM_TXF_LOG_FULL_HANDLING_FAILED ((NTSTATUS)0xC0040087L)
|
||||
#define IO_FILE_SYSTEM_TXF_RESOURCE_MANAGER_RESET ((NTSTATUS)0x80040088L)
|
||||
#define IO_FILE_SYSTEM_TXF_RESOURCE_MANAGER_START_FAILED ((NTSTATUS)0xC0040089L)
|
||||
#define IO_FILE_SYSTEM_TXF_RESOURCE_MANAGER_SHUT_DOWN ((NTSTATUS)0xC004008AL)
|
||||
#define IO_LOST_DELAYED_WRITE_NETWORK_DISCONNECTED ((NTSTATUS)0x8004008BL)
|
||||
#define IO_LOST_DELAYED_WRITE_NETWORK_SERVER_ERROR ((NTSTATUS)0x8004008CL)
|
||||
#define IO_LOST_DELAYED_WRITE_NETWORK_LOCAL_DISK_ERROR ((NTSTATUS)0x8004008DL)
|
||||
|
||||
#define MCA_WARNING_CACHE ((NTSTATUS)0x8005003CL)
|
||||
#define MCA_ERROR_CACHE ((NTSTATUS)0xC005003DL)
|
||||
#define MCA_WARNING_TLB ((NTSTATUS)0x8005003EL)
|
||||
#define MCA_ERROR_TLB ((NTSTATUS)0xC005003FL)
|
||||
#define MCA_WARNING_CPU_BUS ((NTSTATUS)0x80050040L)
|
||||
#define MCA_ERROR_CPU_BUS ((NTSTATUS)0xC0050041L)
|
||||
#define MCA_WARNING_REGISTER_FILE ((NTSTATUS)0x80050042L)
|
||||
#define MCA_ERROR_REGISTER_FILE ((NTSTATUS)0xC0050043L)
|
||||
#define MCA_WARNING_MAS ((NTSTATUS)0x80050044L)
|
||||
#define MCA_ERROR_MAS ((NTSTATUS)0xC0050045L)
|
||||
#define MCA_WARNING_MEM_UNKNOWN ((NTSTATUS)0x80050046L)
|
||||
#define MCA_ERROR_MEM_UNKNOWN ((NTSTATUS)0xC0050047L)
|
||||
#define MCA_WARNING_MEM_1_2 ((NTSTATUS)0x80050048L)
|
||||
#define MCA_ERROR_MEM_1_2 ((NTSTATUS)0xC0050049L)
|
||||
#define MCA_WARNING_MEM_1_2_5 ((NTSTATUS)0x8005004AL)
|
||||
#define MCA_ERROR_MEM_1_2_5 ((NTSTATUS)0xC005004BL)
|
||||
#define MCA_WARNING_MEM_1_2_5_4 ((NTSTATUS)0x8005004CL)
|
||||
#define MCA_ERROR_MEM_1_2_5_4 ((NTSTATUS)0xC005004DL)
|
||||
#define MCA_WARNING_SYSTEM_EVENT ((NTSTATUS)0x8005004EL)
|
||||
#define MCA_ERROR_SYSTEM_EVENT ((NTSTATUS)0xC005004FL)
|
||||
#define MCA_WARNING_PCI_BUS_PARITY ((NTSTATUS)0x80050050L)
|
||||
#define MCA_ERROR_PCI_BUS_PARITY ((NTSTATUS)0xC0050051L)
|
||||
#define MCA_WARNING_PCI_BUS_PARITY_NO_INFO ((NTSTATUS)0x80050052L)
|
||||
#define MCA_ERROR_PCI_BUS_PARITY_NO_INFO ((NTSTATUS)0xC0050053L)
|
||||
#define MCA_WARNING_PCI_BUS_SERR ((NTSTATUS)0x80050054L)
|
||||
#define MCA_ERROR_PCI_BUS_SERR ((NTSTATUS)0xC0050055L)
|
||||
#define MCA_WARNING_PCI_BUS_SERR_NO_INFO ((NTSTATUS)0x80050056L)
|
||||
#define MCA_ERROR_PCI_BUS_SERR_NO_INFO ((NTSTATUS)0xC0050057L)
|
||||
#define MCA_WARNING_PCI_BUS_MASTER_ABORT ((NTSTATUS)0x80050058L)
|
||||
#define MCA_ERROR_PCI_BUS_MASTER_ABORT ((NTSTATUS)0xC0050059L)
|
||||
#define MCA_WARNING_PCI_BUS_MASTER_ABORT_NO_INFO ((NTSTATUS)0x8005005AL)
|
||||
#define MCA_ERROR_PCI_BUS_MASTER_ABORT_NO_INFO ((NTSTATUS)0xC005005BL)
|
||||
#define MCA_WARNING_PCI_BUS_TIMEOUT ((NTSTATUS)0x8005005CL)
|
||||
#define MCA_ERROR_PCI_BUS_TIMEOUT ((NTSTATUS)0xC005005DL)
|
||||
#define MCA_WARNING_PCI_BUS_TIMEOUT_NO_INFO ((NTSTATUS)0x8005005EL)
|
||||
#define MCA_ERROR_PCI_BUS_TIMEOUT_NO_INFO ((NTSTATUS)0xC005005FL)
|
||||
#define MCA_WARNING_PCI_BUS_UNKNOWN ((NTSTATUS)0x80050060L)
|
||||
#define MCA_ERROR_PCI_BUS_UNKNOWN ((NTSTATUS)0xC0050061L)
|
||||
#define MCA_WARNING_PCI_DEVICE ((NTSTATUS)0x80050062L)
|
||||
#define MCA_ERROR_PCI_DEVICE ((NTSTATUS)0xC0050063L)
|
||||
#define MCA_WARNING_SMBIOS ((NTSTATUS)0x80050064L)
|
||||
#define MCA_ERROR_SMBIOS ((NTSTATUS)0xC0050065L)
|
||||
#define MCA_WARNING_PLATFORM_SPECIFIC ((NTSTATUS)0x80050066L)
|
||||
#define MCA_ERROR_PLATFORM_SPECIFIC ((NTSTATUS)0xC0050067L)
|
||||
#define MCA_WARNING_UNKNOWN ((NTSTATUS)0x80050068L)
|
||||
#define MCA_ERROR_UNKNOWN ((NTSTATUS)0xC0050069L)
|
||||
#define MCA_WARNING_UNKNOWN_NO_CPU ((NTSTATUS)0x8005006AL)
|
||||
#define MCA_ERROR_UNKNOWN_NO_CPU ((NTSTATUS)0xC005006BL)
|
||||
#define MCA_WARNING_CMC_THRESHOLD_EXCEEDED ((NTSTATUS)0x8005006DL)
|
||||
#define MCA_WARNING_CPE_THRESHOLD_EXCEEDED ((NTSTATUS)0x8005006EL)
|
||||
#define MCA_WARNING_CPU_THERMAL_THROTTLED ((NTSTATUS)0x8005006FL)
|
||||
#define MCA_INFO_CPU_THERMAL_THROTTLING_REMOVED ((NTSTATUS)0x40050070L)
|
||||
#define MCA_WARNING_CPU ((NTSTATUS)0x80050071L)
|
||||
#define MCA_ERROR_CPU ((NTSTATUS)0xC0050072L)
|
||||
#define MCA_INFO_NO_MORE_CORRECTED_ERROR_LOGS ((NTSTATUS)0x40050073L)
|
||||
#define MCA_INFO_MEMORY_PAGE_MARKED_BAD ((NTSTATUS)0x40050074L)
|
||||
#define MCA_MEMORYHIERARCHY_ERROR ((NTSTATUS)0xC0050078L)
|
||||
#define MCA_TLB_ERROR ((NTSTATUS)0xC0050079L)
|
||||
#define MCA_BUS_ERROR ((NTSTATUS)0xC005007AL)
|
||||
#define MCA_BUS_TIMEOUT_ERROR ((NTSTATUS)0xC005007BL)
|
||||
#define MCA_INTERNALTIMER_ERROR ((NTSTATUS)0xC005007CL)
|
||||
#define MCA_MICROCODE_ROM_PARITY_ERROR ((NTSTATUS)0xC005007EL)
|
||||
#define MCA_EXTERNAL_ERROR ((NTSTATUS)0xC005007FL)
|
||||
#define MCA_FRC_ERROR ((NTSTATUS)0xC0050080L)
|
||||
|
||||
#define STATUS_SEVERITY_SUCCESS 0x0
|
||||
#define STATUS_SEVERITY_INFORMATIONAL 0x1
|
||||
#define STATUS_SEVERITY_WARNING 0x2
|
||||
#define STATUS_SEVERITY_ERROR 0x3
|
File diff suppressed because it is too large
Load diff
|
@ -20,14 +20,7 @@
|
|||
*
|
||||
*/
|
||||
|
||||
#ifndef __TVOUT_H
|
||||
#define __TVOUT_H
|
||||
|
||||
|
||||
#if _MSC_VER > 1000
|
||||
#pragma once
|
||||
#endif
|
||||
|
||||
|
||||
#ifndef GUID_DEFINED
|
||||
#include <guiddef.h>
|
||||
|
@ -107,7 +100,4 @@ typedef struct _VIDEOPARAMETERS {
|
|||
ULONG dwCPKey;
|
||||
ULONG bCP_APSTriggerBits;
|
||||
UCHAR bOEMCopyProtection[256];
|
||||
} VIDEOPARAMETERS, *PVIDEOPARAMETERS, FAR *LPVIDEOPARAMETERS;
|
||||
|
||||
|
||||
#endif /* __TVOUT_H */
|
||||
} VIDEOPARAMETERS, *PVIDEOPARAMETERS, *LPVIDEOPARAMETERS;
|
Loading…
Reference in a new issue