fix a header name
authorTimo Kreuzer <timo.kreuzer@reactos.org>
Sun, 11 May 2008 23:25:02 +0000 (23:25 +0000)
committerTimo Kreuzer <timo.kreuzer@reactos.org>
Sun, 11 May 2008 23:25:02 +0000 (23:25 +0000)
svn path=/trunk/; revision=33457

reactos/include/ddk/ntdd1394.h [new file with mode: 0644]

diff --git a/reactos/include/ddk/ntdd1394.h b/reactos/include/ddk/ntdd1394.h
new file mode 100644 (file)
index 0000000..151f111
--- /dev/null
@@ -0,0 +1,47 @@
+
+#ifndef _NTDD1394_H_
+#define _NTDD1394_H_
+
+#if (_MSC_VER >= 1020)
+#pragma once
+#endif
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+typedef struct _IEEE1394_VDEV_PNP_REQUEST
+{
+  ULONG fulFlags;
+  ULONG Reserved;
+  ULARGE_INTEGER InstanceId;
+  UCHAR DeviceId;
+} IEEE1394_VDEV_PNP_REQUEST,*PIEEE1394_VDEV_PNP_REQUEST;
+
+
+typedef struct _IEEE1394_API_REQUEST
+{
+  ULONG RequestNumber;
+  ULONG Flags;
+  union
+  {
+    IEEE1394_VDEV_PNP_REQUEST AddVirtualDevice;
+    IEEE1394_VDEV_PNP_REQUEST RemoveVirtualDevice;
+  } u;
+} IEEE1394_API_REQUEST, *PIEEE1394_API_REQUEST;
+
+#define IEEE1394_API_ADD_VIRTUAL_DEVICE           0x00000001
+#define IEEE1394_API_REMOVE_VIRTUAL_DEVICE        0x00000002
+#define IEEE1394_REQUEST_FLAG_UNICODE             0x00000001
+#define IEEE1394_REQUEST_FLAG_PERSISTENT          0x00000002
+#define IEEE1394_REQUEST_FLAG_USE_LOCAL_HOST_EUI  0x00000004
+#define BUS1394_VIRTUAL_DEVICE_LIST_KEY           L"Virtual Device List"
+#define BUS1394_LOCAL_HOST_INSTANCE_KEY           L"LOCAL HOST EUI64"
+#define IOCTL_IEEE1394_API_REQUEST                CTL_CODE(FILE_DEVICE_UNKNOWN, 0x100, METHOD_BUFFERED, FILE_ANY_ACCESS)
+
+#ifdef __cplusplus
+}
+#endif
+
+#endif
+