Author: greatlrd
Date: Thu Jun 28 02:15:13 2007
New Revision: 27298
URL:
http://svn.reactos.org/svn/reactos?rev=27298&view=rev
Log:
cleaning up ddk header file, I am aming for ddk2003sp1 3790.1830 compatible
Added:
branches/ddk2003/include/ddk2003/diskguid.h (with props)
branches/ddk2003/include/ddk2003/netpnp.h (with props)
branches/ddk2003/include/ddk2003/ntnls.h (with props)
branches/ddk2003/include/ddk2003/winppi.h (with props)
branches/ddk2003/include/ddk2003/xmldso.idl (with props)
Removed:
branches/ddk2003/include/ddk/diskguid.h
branches/ddk2003/include/ddk/netpnp.h
branches/ddk2003/include/ddk/ntddbeep.h
branches/ddk2003/include/ddk/ntnls.h
branches/ddk2003/include/ddk/polarity.h
Removed: branches/ddk2003/include/ddk/diskguid.h
URL:
http://svn.reactos.org/svn/reactos/branches/ddk2003/include/ddk/diskguid.h?…
==============================================================================
--- branches/ddk2003/include/ddk/diskguid.h (original)
+++ branches/ddk2003/include/ddk/diskguid.h (removed)
@@ -1,10 +1,0 @@
-
-#ifdef DEFINE_GUID
-DEFINE_GUID(PARTITION_ENTRY_UNUSED_GUID, 0x00000000, 0x0000, 0x0000, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00); // Entry unused
-DEFINE_GUID(PARTITION_SYSTEM_GUID, 0xC12A7328, 0xF81F, 0x11D2, 0xBA, 0x4B, 0x00,
0xA0, 0xC9, 0x3E, 0xC9, 0x3B); // EFI system partition
-DEFINE_GUID(PARTITION_MSFT_RESERVED_GUID, 0xE3C9E316, 0x0B5C, 0x4DB8, 0x81, 0x7D, 0xF9,
0x2D, 0xF0, 0x02, 0x15, 0xAE); // Microsoft reserved space
-DEFINE_GUID(PARTITION_BASIC_DATA_GUID, 0xEBD0A0A2, 0xB9E5, 0x4433, 0x87, 0xC0, 0x68,
0xB6, 0xB7, 0x26, 0x99, 0xC7); // Basic data partition
-DEFINE_GUID(PARTITION_LDM_METADATA_GUID, 0x5808C8AA, 0x7E8F, 0x42E0, 0x85, 0xD2, 0xE1,
0xE9, 0x04, 0x34, 0xCF, 0xB3); // Logical Disk Manager metadata partition
-DEFINE_GUID(PARTITION_LDM_DATA_GUID, 0xAF9B60A0, 0x1431, 0x4F62, 0xBC, 0x68, 0x33,
0x11, 0x71, 0x4A, 0x69, 0xAD); // Logical Disk Manager data partition
-#endif
-
Removed: branches/ddk2003/include/ddk/netpnp.h
URL:
http://svn.reactos.org/svn/reactos/branches/ddk2003/include/ddk/netpnp.h?re…
==============================================================================
--- branches/ddk2003/include/ddk/netpnp.h (original)
+++ branches/ddk2003/include/ddk/netpnp.h (removed)
@@ -1,39 +1,0 @@
-#ifndef __NET_PNP__
-#define __NET_PNP__
-
-typedef enum _NET_DEVICE_POWER_STATE
-{
- NetDeviceStateUnspecified = 0,
- NetDeviceStateD0,
- NetDeviceStateD1,
- NetDeviceStateD2,
- NetDeviceStateD3,
- NetDeviceStateMaximum
-} NET_DEVICE_POWER_STATE, *PNET_DEVICE_POWER_STATE;
-
-typedef enum _NET_PNP_EVENT_CODE
-{
- NetEventSetPower,
- NetEventQueryPower,
- NetEventQueryRemoveDevice,
- NetEventCancelRemoveDevice,
- NetEventReconfigure,
- NetEventBindList,
- NetEventBindsComplete,
- NetEventPnPCapabilities,
- NetEventMaximum
-} NET_PNP_EVENT_CODE, *PNET_PNP_EVENT_CODE;
-
-typedef struct _NET_PNP_EVENT
-{
- NET_PNP_EVENT_CODE NetEvent;
- PVOID Buffer;
- ULONG BufferLength;
- ULONG_PTR NdisReserved[4];
- ULONG_PTR TransportReserved[4];
- ULONG_PTR TdiReserved[4];
- ULONG_PTR TdiClientReserved[4];
-} NET_PNP_EVENT, *PNET_PNP_EVENT;
-
-#endif
-
Removed: branches/ddk2003/include/ddk/ntddbeep.h
URL:
http://svn.reactos.org/svn/reactos/branches/ddk2003/include/ddk/ntddbeep.h?…
==============================================================================
--- branches/ddk2003/include/ddk/ntddbeep.h (original)
+++ branches/ddk2003/include/ddk/ntddbeep.h (removed)
@@ -1,26 +1,0 @@
-
-#ifndef _NTDDBEEP_
-#define _NTDDBEEP_
-
-
-#ifdef __cplusplus
-extern "C" {
-#endif
-
-#define DD_BEEP_DEVICE_NAME "\\Device\\Beep"
-#define DD_BEEP_DEVICE_NAME_U L"\\Device\\Beep"
-#define BEEP_FREQUENCY_MINIMUM 0x25
-#define BEEP_FREQUENCY_MAXIMUM 0x7FFF
-#define IOCTL_BEEP_SET CTL_CODE(FILE_DEVICE_BEEP, 0, METHOD_BUFFERED,
FILE_ANY_ACCESS)
-
-typedef struct _BEEP_SET_PARAMETERS
-{
- ULONG Frequency;
- ULONG Duration;
-} BEEP_SET_PARAMETERS, *PBEEP_SET_PARAMETERS;
-
-#ifdef __cplusplus
-}
-#endif
-#endif
-
Removed: branches/ddk2003/include/ddk/ntnls.h
URL:
http://svn.reactos.org/svn/reactos/branches/ddk2003/include/ddk/ntnls.h?rev…
==============================================================================
--- branches/ddk2003/include/ddk/ntnls.h (original)
+++ branches/ddk2003/include/ddk/ntnls.h (removed)
@@ -1,37 +1,0 @@
-
-#ifndef _NTNLS_
-#define _NTNLS_
-
-
-#ifdef __cplusplus
-extern "C" {
-#endif
-#define MAXIMUM_LEADBYTES 12
-typedef struct _CPTABLEINFO
-{
- USHORT CodePage;
- USHORT MaximumCharacterSize;
- USHORT DefaultChar;
- USHORT UniDefaultChar;
- USHORT TransDefaultChar;
- USHORT TransUniDefaultChar;
- USHORT DBCSCodePage;
- UCHAR LeadByte[MAXIMUM_LEADBYTES];
- PUSHORT MultiByteTable;
- PVOID WideCharTable;
- PUSHORT DBCSRanges;
- PUSHORT DBCSOffsets;
-} CPTABLEINFO, *PCPTABLEINFO;
-
-typedef struct _NLSTABLEINFO
-{
- CPTABLEINFO OemTableInfo;
- CPTABLEINFO AnsiTableInfo;
- PUSHORT UpperCaseTable;
- PUSHORT LowerCaseTable;
-} NLSTABLEINFO, *PNLSTABLEINFO;
-
-#ifdef __cplusplus
-}
-#endif
-#endif
Removed: branches/ddk2003/include/ddk/polarity.h
URL:
http://svn.reactos.org/svn/reactos/branches/ddk2003/include/ddk/polarity.h?…
==============================================================================
--- branches/ddk2003/include/ddk/polarity.h (original)
+++ branches/ddk2003/include/ddk/polarity.h (removed)
@@ -1,23 +1,0 @@
-/* $Id$
- *
- * COPYRIGHT: See COPYING in the top level directory
- * PROJECT: ReactOS kernel
- * FILE:
- * PURPOSE:
- * PROGRAMMER: Magnus Olsen (greatlrd)
- *
- */
-
-#ifndef POLARITY_HEADERFILE_IS_INCLUDED
- #define POLARITY_HEADERFILE_IS_INCLUDED
-
- #ifdef USE_POLARITY
- #ifdef BUILDING_DLL
- #define POLARITY __declspec( dllexport )
- #else
- #define POLARITY __declspec( dllimport )
- #endif
- #else
- #define POLARITY
- #endif
-#endif
Added: branches/ddk2003/include/ddk2003/diskguid.h
URL:
http://svn.reactos.org/svn/reactos/branches/ddk2003/include/ddk2003/diskgui…
==============================================================================
--- branches/ddk2003/include/ddk2003/diskguid.h (added)
+++ branches/ddk2003/include/ddk2003/diskguid.h Thu Jun 28 02:15:13 2007
@@ -1,0 +1,11 @@
+
+#ifdef DEFINE_GUID
+
+DEFINE_GUID(PARTITION_ENTRY_UNUSED_GUID, 0x00000000, 0x0000, 0x0000, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00);
+DEFINE_GUID(PARTITION_SYSTEM_GUID, 0xC12A7328, 0xF81F, 0x11D2, 0xBA, 0x4B, 0x00,
0xA0, 0xC9, 0x3E, 0xC9, 0x3B);
+DEFINE_GUID(PARTITION_MSFT_RESERVED_GUID, 0xE3C9E316, 0x0B5C, 0x4DB8, 0x81, 0x7D, 0xF9,
0x2D, 0xF0, 0x02, 0x15, 0xAE);
+DEFINE_GUID(PARTITION_BASIC_DATA_GUID, 0xEBD0A0A2, 0xB9E5, 0x4433, 0x87, 0xC0, 0x68,
0xB6, 0xB7, 0x26, 0x99, 0xC7);
+DEFINE_GUID(PARTITION_LDM_METADATA_GUID, 0x5808C8AA, 0x7E8F, 0x42E0, 0x85, 0xD2, 0xE1,
0xE9, 0x04, 0x34, 0xCF, 0xB3);
+DEFINE_GUID(PARTITION_LDM_DATA_GUID, 0xAF9B60A0, 0x1431, 0x4F62, 0xBC, 0x68, 0x33,
0x11, 0x71, 0x4A, 0x69, 0xAD);
+#endif
+
Propchange: branches/ddk2003/include/ddk2003/diskguid.h
------------------------------------------------------------------------------
svn:eol-style = native
Added: branches/ddk2003/include/ddk2003/netpnp.h
URL:
http://svn.reactos.org/svn/reactos/branches/ddk2003/include/ddk2003/netpnp.…
==============================================================================
--- branches/ddk2003/include/ddk2003/netpnp.h (added)
+++ branches/ddk2003/include/ddk2003/netpnp.h Thu Jun 28 02:15:13 2007
@@ -1,0 +1,39 @@
+#ifndef __NET_PNP__
+#define __NET_PNP__
+
+typedef enum _NET_PNP_EVENT_CODE
+{
+ NetEventSetPower,
+ NetEventQueryPower,
+ NetEventQueryRemoveDevice,
+ NetEventCancelRemoveDevice,
+ NetEventReconfigure,
+ NetEventBindList,
+ NetEventBindsComplete,
+ NetEventPnPCapabilities,
+ NetEventMaximum
+} NET_PNP_EVENT_CODE, *PNET_PNP_EVENT_CODE;
+
+typedef enum _NET_DEVICE_POWER_STATE
+{
+ NetDeviceStateUnspecified = 0,
+ NetDeviceStateD0,
+ NetDeviceStateD1,
+ NetDeviceStateD2,
+ NetDeviceStateD3,
+ NetDeviceStateMaximum
+} NET_DEVICE_POWER_STATE, *PNET_DEVICE_POWER_STATE;
+
+typedef struct _NET_PNP_EVENT
+{
+ NET_PNP_EVENT_CODE NetEvent;
+ PVOID Buffer;
+ ULONG BufferLength;
+ ULONG_PTR NdisReserved[4];
+ ULONG_PTR TransportReserved[4];
+ ULONG_PTR TdiReserved[4];
+ ULONG_PTR TdiClientReserved[4];
+} NET_PNP_EVENT, *PNET_PNP_EVENT;
+
+#endif
+
Propchange: branches/ddk2003/include/ddk2003/netpnp.h
------------------------------------------------------------------------------
svn:eol-style = native
Added: branches/ddk2003/include/ddk2003/ntnls.h
URL:
http://svn.reactos.org/svn/reactos/branches/ddk2003/include/ddk2003/ntnls.h…
==============================================================================
--- branches/ddk2003/include/ddk2003/ntnls.h (added)
+++ branches/ddk2003/include/ddk2003/ntnls.h Thu Jun 28 02:15:13 2007
@@ -1,0 +1,42 @@
+
+#ifndef _NTNLS_
+#define _NTNLS_
+
+#if _MSC_VER > 1000
+#pragma once
+#endif
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+#define MAXIMUM_LEADBYTES 12
+
+typedef struct _CPTABLEINFO {
+ USHORT CodePage;
+ USHORT MaximumCharacterSize;
+ USHORT DefaultChar;
+ USHORT UniDefaultChar;
+ USHORT TransDefaultChar;
+ USHORT TransUniDefaultChar;
+ USHORT DBCSCodePage;
+ UCHAR LeadByte[MAXIMUM_LEADBYTES];
+ PUSHORT MultiByteTable;
+ PVOID WideCharTable;
+ PUSHORT DBCSRanges;
+ PUSHORT DBCSOffsets;
+} CPTABLEINFO, *PCPTABLEINFO;
+
+typedef struct _NLSTABLEINFO {
+ CPTABLEINFO OemTableInfo;
+ CPTABLEINFO AnsiTableInfo;
+ PUSHORT UpperCaseTable;
+ PUSHORT LowerCaseTable;
+} NLSTABLEINFO, *PNLSTABLEINFO;
+
+#ifdef __cplusplus
+}
+#endif
+
+#endif
+
Propchange: branches/ddk2003/include/ddk2003/ntnls.h
------------------------------------------------------------------------------
svn:eol-style = native
Added: branches/ddk2003/include/ddk2003/winppi.h
URL:
http://svn.reactos.org/svn/reactos/branches/ddk2003/include/ddk2003/winppi.…
==============================================================================
--- branches/ddk2003/include/ddk2003/winppi.h (added)
+++ branches/ddk2003/include/ddk2003/winppi.h Thu Jun 28 02:15:13 2007
@@ -1,0 +1,69 @@
+
+#ifndef _WINPPI_
+#define _WINPPI_
+
+typedef int (CALLBACK* EMFPLAYPROC)( HDC, INT, HANDLE );
+
+#define EMF_PP_COLOR_OPTIMIZATION 0x01
+
+HANDLE WINAPI
+GdiGetSpoolFileHandle(
+ LPWSTR pwszPrinterName,
+ LPDEVMODEW pDevmode,
+ LPWSTR pwszDocName);
+
+BOOL WINAPI
+GdiDeleteSpoolFileHandle(HANDLE SpoolFileHandle);
+
+DWORD WINAPI
+GdiGetPageCount(HANDLE SpoolFileHandle);
+
+HDC WINAPI
+GdiGetDC(HANDLE SpoolFileHandle);
+
+HANDLE WINAPI
+GdiGetPageHandle(
+ HANDLE SpoolFileHandle,
+ DWORD Page,
+ LPDWORD pdwPageType);
+
+BOOL WINAPI
+GdiStartDocEMF(
+ HANDLE SpoolFileHandle,
+ DOCINFOW *pDocInfo);
+
+BOOL WINAPI
+GdiStartPageEMF(
+ HANDLE SpoolFileHandle);
+
+BOOL WINAPI
+GdiPlayPageEMF(
+ HANDLE SpoolFileHandle,
+ HANDLE hemf,
+ RECT *prectDocument,
+ RECT *prectBorder,
+ RECT *prectClip);
+
+BOOL WINAPI
+GdiEndPageEMF(
+ HANDLE SpoolFileHandle,
+ DWORD dwOptimization);
+
+BOOL WINAPI
+GdiEndDocEMF(
+ HANDLE SpoolFileHandle);
+
+BOOL WINAPI
+GdiGetDevmodeForPage(
+ HANDLE SpoolFileHandle,
+ DWORD dwPageNumber,
+ PDEVMODEW *pCurrDM,
+ PDEVMODEW *pLastDM);
+
+BOOL WINAPI
+GdiResetDCEMF(
+ HANDLE SpoolFileHandle,
+ PDEVMODEW pCurrDM);
+
+#endif
+
Propchange: branches/ddk2003/include/ddk2003/winppi.h
------------------------------------------------------------------------------
svn:eol-style = native
Added: branches/ddk2003/include/ddk2003/xmldso.idl
URL:
http://svn.reactos.org/svn/reactos/branches/ddk2003/include/ddk2003/xmldso.…
==============================================================================
--- branches/ddk2003/include/ddk2003/xmldso.idl (added)
+++ branches/ddk2003/include/ddk2003/xmldso.idl Thu Jun 28 02:15:13 2007
@@ -1,0 +1,40 @@
+
+#ifdef UNIX
+import "wtypes.idl";
+import "ocidl.idl";
+#endif
+
+#include <idispids.h>
+#include "xmldsodid.h"
+
+interface IXMLDOMDocument;
+
+[
+ local, object,
+ uuid(310afa62-0575-11d2-9ca9-0060b0ec3d39),
+ odl,
+ dual,
+ oleautomation,
+ nonextensible,
+ hidden,
+ pointer_default(unique)
+]
+interface IXMLDSOControl : IDispatch
+{
+ [propget,id(DISPID_XMLDSO_DOCUMENT)] HRESULT XMLDocument([out, retval]
IXMLDOMDocument** ppDoc);
+ [propput,id(DISPID_XMLDSO_DOCUMENT)] HRESULT XMLDocument([in] IXMLDOMDocument*
ppDoc);
+ [propget,id(DISPID_XMLDSO_JAVADSOCOMPATIBLE)] HRESULT JavaDSOCompatible([out, retval]
BOOL* fJavaDSOCompatible);
+ [propput,id(DISPID_XMLDSO_JAVADSOCOMPATIBLE)] HRESULT JavaDSOCompatible([in] BOOL
fJavaDSOCompatible);
+ [propget, id(DISPID_READYSTATE)] HRESULT readyState([out, retval] long *state);
+};
+
+[
+ uuid(550dda30-0541-11d2-9ca9-0060b0ec3d39)
+]
+coclass XMLDSOControl
+{
+ [default] interface IXMLDSOControl;
+};
+
+
+
Propchange: branches/ddk2003/include/ddk2003/xmldso.idl
------------------------------------------------------------------------------
svn:eol-style = native