[CMAKE]
[reactos.git] / include / ddk / ntdd1394.h
1
2 #ifndef _NTDD1394_H_
3 #define _NTDD1394_H_
4
5 #if (_MSC_VER >= 1020)
6 #pragma once
7 #endif
8
9 #ifdef __cplusplus
10 extern "C" {
11 #endif
12
13 typedef struct _IEEE1394_VDEV_PNP_REQUEST
14 {
15 ULONG fulFlags;
16 ULONG Reserved;
17 ULARGE_INTEGER InstanceId;
18 UCHAR DeviceId;
19 } IEEE1394_VDEV_PNP_REQUEST,*PIEEE1394_VDEV_PNP_REQUEST;
20
21
22 typedef struct _IEEE1394_API_REQUEST
23 {
24 ULONG RequestNumber;
25 ULONG Flags;
26 union
27 {
28 IEEE1394_VDEV_PNP_REQUEST AddVirtualDevice;
29 IEEE1394_VDEV_PNP_REQUEST RemoveVirtualDevice;
30 } u;
31 } IEEE1394_API_REQUEST, *PIEEE1394_API_REQUEST;
32
33 #define IEEE1394_API_ADD_VIRTUAL_DEVICE 0x00000001
34 #define IEEE1394_API_REMOVE_VIRTUAL_DEVICE 0x00000002
35 #define IEEE1394_REQUEST_FLAG_UNICODE 0x00000001
36 #define IEEE1394_REQUEST_FLAG_PERSISTENT 0x00000002
37 #define IEEE1394_REQUEST_FLAG_USE_LOCAL_HOST_EUI 0x00000004
38 #define BUS1394_VIRTUAL_DEVICE_LIST_KEY L"Virtual Device List"
39 #define BUS1394_LOCAL_HOST_INSTANCE_KEY L"LOCAL HOST EUI64"
40 #define IOCTL_IEEE1394_API_REQUEST CTL_CODE(FILE_DEVICE_UNKNOWN, 0x100, METHOD_BUFFERED, FILE_ANY_ACCESS)
41
42 #ifdef __cplusplus
43 }
44 #endif
45
46 #endif
47