mirror of
https://github.com/reactos/reactos.git
synced 2025-08-05 01:25:41 +00:00
- Add types for bda driver
svn path=/trunk/; revision=42799
This commit is contained in:
parent
5a25dd682a
commit
7a862d7907
1 changed files with 32 additions and 6 deletions
|
@ -1,12 +1,6 @@
|
||||||
#ifndef BDAMEDIA_H__
|
#ifndef BDAMEDIA_H__
|
||||||
#define BDAMEDIA_H__
|
#define BDAMEDIA_H__
|
||||||
|
|
||||||
typedef enum
|
|
||||||
{
|
|
||||||
KSPROPERTY_BDA_PIN_ID = 0,
|
|
||||||
KSPROPERTY_BDA_PIN_TYPE
|
|
||||||
} KSPROPERTY_BDA_PIN_CONTROL;
|
|
||||||
|
|
||||||
typedef struct _KSP_BDA_NODE_PIN {
|
typedef struct _KSP_BDA_NODE_PIN {
|
||||||
KSPROPERTY Property;
|
KSPROPERTY Property;
|
||||||
ULONG ulNodeType;
|
ULONG ulNodeType;
|
||||||
|
@ -174,5 +168,37 @@ typedef enum {
|
||||||
0,\
|
0,\
|
||||||
SupportHandler)
|
SupportHandler)
|
||||||
|
|
||||||
|
/* ------------------------------------------------------------
|
||||||
|
BDA Pin Control Property {0DED49D5-A8B7-4d5d-97A1-12B0C195874D}
|
||||||
|
*/
|
||||||
|
|
||||||
|
#define STATIC_KSPROPSETID_BdaPinControl \
|
||||||
|
0xded49d5, 0xa8b7, 0x4d5d, 0x97, 0xa1, 0x12, 0xb0, 0xc1, 0x95, 0x87, 0x4d
|
||||||
|
DEFINE_GUIDSTRUCT("0DED49D5-A8B7-4d5d-97A1-12B0C195874D", KSPROPSETID_BdaPinControl);
|
||||||
|
#define KSPROPSETID_BdaPinControl DEFINE_GUIDNAMED(KSPROPSETID_BdaPinControl)
|
||||||
|
|
||||||
|
typedef enum {
|
||||||
|
KSPROPERTY_BDA_PIN_ID = 0,
|
||||||
|
KSPROPERTY_BDA_PIN_TYPE
|
||||||
|
} KSPROPERTY_BDA_PIN_CONTROL;
|
||||||
|
|
||||||
|
#define DEFINE_KSPROPERTY_ITEM_BDA_PIN_ID(GetHandler, SetHandler)\
|
||||||
|
DEFINE_KSPROPERTY_ITEM(\
|
||||||
|
KSPROPERTY_BDA_PIN_ID,\
|
||||||
|
(GetHandler),\
|
||||||
|
sizeof( KSPROPERTY),\
|
||||||
|
sizeof( ULONG),\
|
||||||
|
FALSE,\
|
||||||
|
NULL, 0, NULL, NULL, 0)
|
||||||
|
|
||||||
|
#define DEFINE_KSPROPERTY_ITEM_BDA_PIN_TYPE(GetHandler, SetHandler)\
|
||||||
|
DEFINE_KSPROPERTY_ITEM(\
|
||||||
|
KSPROPERTY_BDA_PIN_TYPE,\
|
||||||
|
(GetHandler),\
|
||||||
|
sizeof( KSPROPERTY),\
|
||||||
|
sizeof( ULONG),\
|
||||||
|
FALSE,\
|
||||||
|
NULL, 0, NULL, NULL, 0)
|
||||||
|
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue