Author: greatlrd
Date: Wed Jun 27 23:55:52 2007
New Revision: 27294
URL:
http://svn.reactos.org/svn/reactos?rev=27294&view=rev
Log:
cleaning up ddk header file, I am aming for ddk2003sp1 3790.1830 compatible
Added:
branches/ddk2003/include/ddk2003/unknown.h
branches/ddk2003/include/ddk2003/usbkern.h
branches/ddk2003/include/ddk2003/wbemidl.h
Removed:
branches/ddk2003/include/ddk/unknown.h
branches/ddk2003/include/ddk/usbkern.h
Removed: branches/ddk2003/include/ddk/unknown.h
URL:
http://svn.reactos.org/svn/reactos/branches/ddk2003/include/ddk/unknown.h?r…
==============================================================================
--- branches/ddk2003/include/ddk/unknown.h (original)
+++ branches/ddk2003/include/ddk/unknown.h (removed)
@@ -1,55 +1,0 @@
-#ifndef _UNKNOWN_H_
-#define _UNKNOWN_H_
-
-#ifdef __cplusplus
-extern "C" {
-#include <wdm.h>
-}
-#else
-#include <wdm.h>
-#endif
-
-#include <windef.h>
-#define COM_NO_WINDOWS_H
-#include <basetyps.h>
-#ifdef PUT_GUIDS_HERE
-#include <initguid.h>
-#endif
-
-DEFINE_GUID(IID_IUnknown, 0x00000000, 0x0000, 0x0000, 0xC0, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x46);
-#if defined(__cplusplus) && _MSC_VER >= 1100
- struct __declspec(uuid("00000000-0000-0000-C000-000000000046")) IUnknown;
-#endif
-
-#undef INTERFACE
-#define INTERFACE IUnknown
-DECLARE_INTERFACE(IUnknown)
-{
- STDMETHOD(QueryInterface)
- ( THIS_
- IN REFIID,
- OUT PVOID *
- ) PURE;
-
- STDMETHOD_(ULONG,AddRef)
- ( THIS
- ) PURE;
-
- STDMETHOD_(ULONG,Release)
- ( THIS
- ) PURE;
-};
-#undef INTERFACE
-
-typedef IUnknown *PUNKNOWN;
-typedef
-HRESULT
-(*PFNCREATEINSTANCE)
-(
- OUT PUNKNOWN * Unknown,
- IN REFCLSID ClassId,
- IN PUNKNOWN OuterUnknown,
- IN POOL_TYPE PoolType
-);
-#endif
-
Removed: branches/ddk2003/include/ddk/usbkern.h
URL:
http://svn.reactos.org/svn/reactos/branches/ddk2003/include/ddk/usbkern.h?r…
==============================================================================
--- branches/ddk2003/include/ddk/usbkern.h (original)
+++ branches/ddk2003/include/ddk/usbkern.h (removed)
@@ -1,15 +1,0 @@
-
-#ifndef __USBKERN_H__
-#define __USBKERN_H__
-
-#include "usbiodef.h"
-
-#define IOCTL_INTERNAL_USB_GET_HUB_COUNT USB_KERNEL_CTL(USB_GET_HUB_COUNT)
-#define IOCTL_INTERNAL_USB_GET_ROOTHUB_PDO USB_KERNEL_CTL(USB_GET_ROOTHUB_PDO)
-
-#define IOCTL_INTERNAL_USB_GET_DEVICE_HANDLE \
- CTL_CODE(FILE_DEVICE_USB, USB_GET_DEVICE_HANDLE, METHOD_NEITHER, FILE_ANY_ACCESS)
-
-#endif
-
-
Added: branches/ddk2003/include/ddk2003/unknown.h
URL:
http://svn.reactos.org/svn/reactos/branches/ddk2003/include/ddk2003/unknown…
==============================================================================
--- branches/ddk2003/include/ddk2003/unknown.h (added)
+++ branches/ddk2003/include/ddk2003/unknown.h Wed Jun 27 23:55:52 2007
@@ -1,0 +1,43 @@
+#ifndef _UNKNOWN_H_
+#define _UNKNOWN_H_
+
+#ifdef __cplusplus
+extern "C" {
+#include <wdm.h>
+}
+#else
+#include <wdm.h>
+#endif
+
+#include <windef.h>
+#define COM_NO_WINDOWS_H
+#include <basetyps.h>
+#ifdef PUT_GUIDS_HERE
+#include <initguid.h>
+#endif
+
+DEFINE_GUID(IID_IUnknown, 0x00000000, 0x0000, 0x0000, 0xC0, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x46);
+#if defined(__cplusplus) && _MSC_VER >= 1100
+ struct __declspec(uuid("00000000-0000-0000-C000-000000000046")) IUnknown;
+#endif
+
+#undef INTERFACE
+#define INTERFACE IUnknown
+DECLARE_INTERFACE(IUnknown)
+{
+ STDMETHOD(QueryInterface) (THIS_ IN REFIID, OUT PVOID *) PURE;
+ STDMETHOD_(ULONG,AddRef) (THIS) PURE;
+ STDMETHOD_(ULONG,Release) (THIS) PURE;
+};
+#undef INTERFACE
+
+typedef IUnknown *PUNKNOWN;
+typedef HRESULT (*PFNCREATEINSTANCE)
+(
+ OUT PUNKNOWN *Unknown,
+ IN REFCLSID ClassId,
+ IN PUNKNOWN OuterUnknown,
+ IN POOL_TYPE PoolType
+);
+#endif
+
Added: branches/ddk2003/include/ddk2003/usbkern.h
URL:
http://svn.reactos.org/svn/reactos/branches/ddk2003/include/ddk2003/usbkern…
==============================================================================
--- branches/ddk2003/include/ddk2003/usbkern.h (added)
+++ branches/ddk2003/include/ddk2003/usbkern.h Wed Jun 27 23:55:52 2007
@@ -1,0 +1,15 @@
+
+#ifndef __USBKERN_H__
+#define __USBKERN_H__
+
+#include "usbiodef.h"
+
+#define IOCTL_INTERNAL_USB_GET_HUB_COUNT USB_KERNEL_CTL(USB_GET_HUB_COUNT)
+#define IOCTL_INTERNAL_USB_GET_ROOTHUB_PDO USB_KERNEL_CTL(USB_GET_ROOTHUB_PDO)
+
+#define IOCTL_INTERNAL_USB_GET_DEVICE_HANDLE \
+ CTL_CODE(FILE_DEVICE_USB, USB_GET_DEVICE_HANDLE, METHOD_NEITHER, FILE_ANY_ACCESS)
+
+#endif
+
+
Added: branches/ddk2003/include/ddk2003/wbemidl.h
URL:
http://svn.reactos.org/svn/reactos/branches/ddk2003/include/ddk2003/wbemidl…
==============================================================================
--- branches/ddk2003/include/ddk2003/wbemidl.h (added)
+++ branches/ddk2003/include/ddk2003/wbemidl.h Wed Jun 27 23:55:52 2007
@@ -1,0 +1,10 @@
+
+#ifndef __WBEMIDL_H_
+#define __WBEMIDL_H_
+
+#include <wbemcli.h>
+#include <wbemprov.h>
+#include <wbemtran.h>
+#include <wbemdisp.h>
+
+#endif