mirror of
https://github.com/reactos/reactos.git
synced 2025-07-26 22:53:52 +00:00
- Add STREAM_DEBUG_LEVEL
svn path=/trunk/; revision=41625
This commit is contained in:
parent
8b461b7616
commit
a0803f70c2
1 changed files with 19 additions and 8 deletions
|
@ -1,14 +1,24 @@
|
||||||
#ifndef _STREAM_H
|
#ifndef _STREAM_H
|
||||||
#define _STREAM_H
|
#define _STREAM_H
|
||||||
|
|
||||||
#include <wdm.h>
|
#include <ntddk.h>
|
||||||
#include <windef.h>
|
|
||||||
#include <stdio.h>
|
|
||||||
#include <ks.h>
|
#include <ks.h>
|
||||||
|
|
||||||
#define STREAMAPI __stdcall
|
#define STREAMAPI __stdcall
|
||||||
#define STREAM_SYSTEM_TIME_MASK ((STREAM_SYSTEM_TIME)0x00000001FFFFFFFF)
|
#define STREAM_SYSTEM_TIME_MASK ((STREAM_SYSTEM_TIME)0x00000001FFFFFFFF)
|
||||||
|
|
||||||
|
typedef enum
|
||||||
|
{
|
||||||
|
DebugLevelFatal = 0,
|
||||||
|
DebugLevelError,
|
||||||
|
DebugLevelWarning,
|
||||||
|
DebugLevelInfo,
|
||||||
|
DebugLevelTrace,
|
||||||
|
DebugLevelVerbose,
|
||||||
|
DebugLevelMaximum
|
||||||
|
}STREAM_DEBUG_LEVEL;
|
||||||
|
|
||||||
|
|
||||||
#if DBG
|
#if DBG
|
||||||
|
|
||||||
#define DebugPrint(x) StreamClassDebugPrint x
|
#define DebugPrint(x) StreamClassDebugPrint x
|
||||||
|
@ -24,7 +34,7 @@
|
||||||
#define DEBUG_ASSERT(exp)
|
#define DEBUG_ASSERT(exp)
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
typedef PHYSICAL_ADDRESS STREAM_PHYSICAL_ADDRESS, *PSTREAM_PHYSICAL_ADDRESS;
|
typedef PHYSICAL_ADDRESS STREAM_PHYSICAL_ADDRESS, *PSTREAM_PHYSICAL_ADDRESS;
|
||||||
typedef unsigned __int64 STREAM_SYSTEM_TIME, *PSTREAM_SYSTEM_TIME;
|
typedef unsigned __int64 STREAM_SYSTEM_TIME, *PSTREAM_SYSTEM_TIME;
|
||||||
typedef unsigned __int64 STREAM_TIMESTAMP, *PSTREAM_TIMESTAMP;
|
typedef unsigned __int64 STREAM_TIMESTAMP, *PSTREAM_TIMESTAMP;
|
||||||
|
@ -51,7 +61,7 @@ typedef struct _HW_EVENT_DESCRIPTOR
|
||||||
PKSEVENT_ENTRY EventEntry;
|
PKSEVENT_ENTRY EventEntry;
|
||||||
PKSEVENTDATA EventData;
|
PKSEVENTDATA EventData;
|
||||||
union
|
union
|
||||||
{
|
{
|
||||||
struct _HW_STREAM_OBJECT * StreamObject;
|
struct _HW_STREAM_OBJECT * StreamObject;
|
||||||
struct _HW_DEVICE_EXTENSION *DeviceExtension;
|
struct _HW_DEVICE_EXTENSION *DeviceExtension;
|
||||||
};
|
};
|
||||||
|
@ -60,6 +70,7 @@ typedef struct _HW_EVENT_DESCRIPTOR
|
||||||
ULONG Reserved;
|
ULONG Reserved;
|
||||||
} HW_EVENT_DESCRIPTOR, *PHW_EVENT_DESCRIPTOR;
|
} HW_EVENT_DESCRIPTOR, *PHW_EVENT_DESCRIPTOR;
|
||||||
|
|
||||||
|
struct _HW_STREAM_REQUEST_BLOCK;
|
||||||
|
|
||||||
typedef VOID (STREAMAPI * PHW_RECEIVE_STREAM_DATA_SRB) (IN struct _HW_STREAM_REQUEST_BLOCK * SRB);
|
typedef VOID (STREAMAPI * PHW_RECEIVE_STREAM_DATA_SRB) (IN struct _HW_STREAM_REQUEST_BLOCK * SRB);
|
||||||
typedef VOID (STREAMAPI * PHW_RECEIVE_STREAM_CONTROL_SRB) (IN struct _HW_STREAM_REQUEST_BLOCK * SRB);
|
typedef VOID (STREAMAPI * PHW_RECEIVE_STREAM_CONTROL_SRB) (IN struct _HW_STREAM_REQUEST_BLOCK * SRB);
|
||||||
|
@ -531,12 +542,12 @@ StreamClassRegisterAdapter(
|
||||||
|
|
||||||
#define StreamClassRegisterMinidriver StreamClassRegisterAdapter
|
#define StreamClassRegisterMinidriver StreamClassRegisterAdapter
|
||||||
|
|
||||||
NTSTATUS
|
NTSTATUS
|
||||||
StreamClassRegisterFilterWithNoKSPins(
|
StreamClassRegisterFilterWithNoKSPins(
|
||||||
IN PDEVICE_OBJECT DeviceObject,
|
IN PDEVICE_OBJECT DeviceObject,
|
||||||
IN const GUID * InterfaceClassGUID,
|
IN const GUID * InterfaceClassGUID,
|
||||||
IN ULONG PinCount,
|
IN ULONG PinCount,
|
||||||
IN BOOL * PinDirection,
|
IN BOOLEAN * PinDirection,
|
||||||
IN KSPIN_MEDIUM * MediumList,
|
IN KSPIN_MEDIUM * MediumList,
|
||||||
IN GUID * CategoryList
|
IN GUID * CategoryList
|
||||||
);
|
);
|
||||||
|
@ -559,4 +570,4 @@ StreamClassStreamNotification(
|
||||||
IN ...
|
IN ...
|
||||||
);
|
);
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue