Author: greatlrd
Date: Thu Jun 28 01:28:21 2007
New Revision: 27297
URL:
http://svn.reactos.org/svn/reactos?rev=27297&view=rev
Log:
cleaning up ddk header file, I am aming for ddk2003sp1 3790.1830 compatible
Added:
branches/ddk2003/include/ddk2003/dde.rh (with props)
branches/ddk2003/include/ddk2003/exposeenums2managed.h (with props)
branches/ddk2003/include/ddk2003/initguid.h (with props)
branches/ddk2003/include/ddk2003/msstkppg.h (with props)
branches/ddk2003/include/ddk2003/ntddbeep.h (with props)
branches/ddk2003/include/ddk2003/packoff.h (with props)
branches/ddk2003/include/ddk2003/packon.h (with props)
branches/ddk2003/include/ddk2003/polarity.h (with props)
branches/ddk2003/include/ddk2003/poppack.h (with props)
branches/ddk2003/include/ddk2003/prsht.idl (with props)
branches/ddk2003/include/ddk2003/pshpack1.h (with props)
branches/ddk2003/include/ddk2003/pshpack2.h (with props)
branches/ddk2003/include/ddk2003/pshpack4.h (with props)
branches/ddk2003/include/ddk2003/pshpack8.h (with props)
branches/ddk2003/include/ddk2003/pshpck16.h (with props)
branches/ddk2003/include/ddk2003/punknown.h (with props)
branches/ddk2003/include/ddk2003/rpcnsip.h (with props)
Added: branches/ddk2003/include/ddk2003/dde.rh
URL:
http://svn.reactos.org/svn/reactos/branches/ddk2003/include/ddk2003/dde.rh?…
==============================================================================
--- branches/ddk2003/include/ddk2003/dde.rh (added)
+++ branches/ddk2003/include/ddk2003/dde.rh Thu Jun 28 01:28:21 2007
@@ -1,0 +1,13 @@
+
+#define WM_DDE_FIRST 0x03E0
+#define WM_DDE_INITIATE (WM_DDE_FIRST)
+#define WM_DDE_TERMINATE (WM_DDE_FIRST+1)
+#define WM_DDE_ADVISE (WM_DDE_FIRST+2)
+#define WM_DDE_UNADVISE (WM_DDE_FIRST+3)
+#define WM_DDE_ACK (WM_DDE_FIRST+4)
+#define WM_DDE_DATA (WM_DDE_FIRST+5)
+#define WM_DDE_REQUEST (WM_DDE_FIRST+6)
+#define WM_DDE_POKE (WM_DDE_FIRST+7)
+#define WM_DDE_EXECUTE (WM_DDE_FIRST+8)
+#define WM_DDE_LAST (WM_DDE_FIRST+8)
+
Propchange: branches/ddk2003/include/ddk2003/dde.rh
------------------------------------------------------------------------------
svn:eol-style = native
Added: branches/ddk2003/include/ddk2003/exposeenums2managed.h
URL:
http://svn.reactos.org/svn/reactos/branches/ddk2003/include/ddk2003/exposee…
==============================================================================
--- branches/ddk2003/include/ddk2003/exposeenums2managed.h (added)
+++ branches/ddk2003/include/ddk2003/exposeenums2managed.h Thu Jun 28 01:28:21 2007
@@ -1,0 +1,26 @@
+
+#ifdef MANAGED_ENUMS
+
+ #ifndef _MANAGED
+ #error "Sorry u can only generate managed enums when compiling managed
code"
+ #endif
+
+ #define ENUM typedef public __value enum
+ #define ENUM16 ENUM
+ #define FLAGS [System::Flags] ENUM
+ #define TAG(x) x
+
+#else
+
+ #ifdef __midl
+ #define V1_ENUM [v1_enum]
+ #else
+ #define V1_ENUM
+ #endif
+
+ #define ENUM typedef V1_ENUM enum
+ #define ENUM16 typedef enum
+ #define FLAGS ENUM
+ #define TAG(x) tag##x
+#endif
+
Propchange: branches/ddk2003/include/ddk2003/exposeenums2managed.h
------------------------------------------------------------------------------
svn:eol-style = native
Added: branches/ddk2003/include/ddk2003/initguid.h
URL:
http://svn.reactos.org/svn/reactos/branches/ddk2003/include/ddk2003/initgui…
==============================================================================
--- branches/ddk2003/include/ddk2003/initguid.h (added)
+++ branches/ddk2003/include/ddk2003/initguid.h Thu Jun 28 01:28:21 2007
@@ -1,0 +1,8 @@
+
+#if _MSC_VER > 1000
+#pragma once
+#endif
+
+#define INITGUID
+#include <guiddef.h>
+
Propchange: branches/ddk2003/include/ddk2003/initguid.h
------------------------------------------------------------------------------
svn:eol-style = native
Added: branches/ddk2003/include/ddk2003/msstkppg.h
URL:
http://svn.reactos.org/svn/reactos/branches/ddk2003/include/ddk2003/msstkpp…
==============================================================================
--- branches/ddk2003/include/ddk2003/msstkppg.h (added)
+++ branches/ddk2003/include/ddk2003/msstkppg.h Thu Jun 28 01:28:21 2007
@@ -1,0 +1,10 @@
+
+#ifndef _MS_STOCK_PROP_PAGES_H_
+#define _MS_STOCK_PROP_PAGES_H_
+
+DEFINE_GUID(CLSID_StockFontPage, 0x7EBDAAE0, 0x8120, 0x11CF, 0x89, 0x9F, 0x00, 0xAA,
0x00, 0x68, 0x8B, 0x10);
+DEFINE_GUID(CLSID_StockColorPage, 0x7EBDAAE1, 0x8120, 0x11CF, 0x89, 0x9F, 0x00, 0xAA,
0x00, 0x68, 0x8B, 0x10);
+DEFINE_GUID(CLSID_StockPicturePage, 0x7EBDAAE2, 0x8120, 0x11CF, 0x89, 0x9F, 0x00, 0xAA,
0x00, 0x68, 0x8B, 0x10);
+
+#endif
+
Propchange: branches/ddk2003/include/ddk2003/msstkppg.h
------------------------------------------------------------------------------
svn:eol-style = native
Added: branches/ddk2003/include/ddk2003/ntddbeep.h
URL:
http://svn.reactos.org/svn/reactos/branches/ddk2003/include/ddk2003/ntddbee…
==============================================================================
--- branches/ddk2003/include/ddk2003/ntddbeep.h (added)
+++ branches/ddk2003/include/ddk2003/ntddbeep.h Thu Jun 28 01:28:21 2007
@@ -1,0 +1,31 @@
+
+#ifndef _NTDDBEEP_
+#define _NTDDBEEP_
+
+
+#if _MSC_VER > 1000
+#pragma once
+#endif
+
+
+#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
+
Propchange: branches/ddk2003/include/ddk2003/ntddbeep.h
------------------------------------------------------------------------------
svn:eol-style = native
Added: branches/ddk2003/include/ddk2003/packoff.h
URL:
http://svn.reactos.org/svn/reactos/branches/ddk2003/include/ddk2003/packoff…
==============================================================================
--- branches/ddk2003/include/ddk2003/packoff.h (added)
+++ branches/ddk2003/include/ddk2003/packoff.h Thu Jun 28 01:28:21 2007
@@ -1,0 +1,8 @@
+#if ! (defined(lint) || defined(_lint))
+ #if ( _MSC_VER >= 800 )
+ #pragma warning(disable:4103)
+ #endif
+#pragma pack()
+#endif
+
+
Propchange: branches/ddk2003/include/ddk2003/packoff.h
------------------------------------------------------------------------------
svn:eol-style = native
Added: branches/ddk2003/include/ddk2003/packon.h
URL:
http://svn.reactos.org/svn/reactos/branches/ddk2003/include/ddk2003/packon.…
==============================================================================
--- branches/ddk2003/include/ddk2003/packon.h (added)
+++ branches/ddk2003/include/ddk2003/packon.h Thu Jun 28 01:28:21 2007
@@ -1,0 +1,9 @@
+
+#if ! (defined(lint) || defined(_lint))
+
+ #if ( _MSC_VER >= 800 )
+ #pragma warning(disable:4103)
+ #endif
+#pragma pack(1)
+#endif
+
Propchange: branches/ddk2003/include/ddk2003/packon.h
------------------------------------------------------------------------------
svn:eol-style = native
Added: branches/ddk2003/include/ddk2003/polarity.h
URL:
http://svn.reactos.org/svn/reactos/branches/ddk2003/include/ddk2003/polarit…
==============================================================================
--- branches/ddk2003/include/ddk2003/polarity.h (added)
+++ branches/ddk2003/include/ddk2003/polarity.h Thu Jun 28 01:28:21 2007
@@ -1,0 +1,23 @@
+/* $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
Propchange: branches/ddk2003/include/ddk2003/polarity.h
------------------------------------------------------------------------------
svn:eol-style = native
Added: branches/ddk2003/include/ddk2003/poppack.h
URL:
http://svn.reactos.org/svn/reactos/branches/ddk2003/include/ddk2003/poppack…
==============================================================================
--- branches/ddk2003/include/ddk2003/poppack.h (added)
+++ branches/ddk2003/include/ddk2003/poppack.h Thu Jun 28 01:28:21 2007
@@ -1,0 +1,14 @@
+
+#if ! (defined(lint) || defined(RC_INVOKED))
+ #if ( _MSC_VER >= 800 && !defined(_M_I86)) || defined(_PUSHPOP_SUPPORTED)
+ #pragma warning(disable:4103)
+ #if !(defined( MIDL_PASS )) || defined( __midl )
+ #pragma pack(pop)
+ #else
+ #pragma pack()
+ #endif
+ #else
+ #pragma pack()
+ #endif
+#endif
+
Propchange: branches/ddk2003/include/ddk2003/poppack.h
------------------------------------------------------------------------------
svn:eol-style = native
Added: branches/ddk2003/include/ddk2003/prsht.idl
URL:
http://svn.reactos.org/svn/reactos/branches/ddk2003/include/ddk2003/prsht.i…
==============================================================================
--- branches/ddk2003/include/ddk2003/prsht.idl (added)
+++ branches/ddk2003/include/ddk2003/prsht.idl Thu Jun 28 01:28:21 2007
@@ -1,0 +1,13 @@
+
+cpp_quote("#if ( _MSC_VER >= 800 )")
+cpp_quote("#pragma warning(disable:4201)")
+cpp_quote("#endif")
+
+#ifndef DO_NO_IMPORTS
+import "wtypes.idl";
+#endif
+
+typedef void* HPROPSHEETPAGE;
+typedef BOOL (* LPFNADDPROPSHEETPAGE)(HPROPSHEETPAGE, LPARAM);
+typedef BOOL (* LPFNADDPROPSHEETPAGES)(LPVOID, LPFNADDPROPSHEETPAGE, LPARAM);
+
Propchange: branches/ddk2003/include/ddk2003/prsht.idl
------------------------------------------------------------------------------
svn:eol-style = native
Added: branches/ddk2003/include/ddk2003/pshpack1.h
URL:
http://svn.reactos.org/svn/reactos/branches/ddk2003/include/ddk2003/pshpack…
==============================================================================
--- branches/ddk2003/include/ddk2003/pshpack1.h (added)
+++ branches/ddk2003/include/ddk2003/pshpack1.h Thu Jun 28 01:28:21 2007
@@ -1,0 +1,14 @@
+
+#if ! (defined(lint) || defined(RC_INVOKED))
+ #if ( _MSC_VER >= 800 && !defined(_M_I86)) || defined(_PUSHPOP_SUPPORTED)
+ #pragma warning(disable:4103)
+ #if !(defined( MIDL_PASS )) || defined( __midl )
+ #pragma pack(push,1)
+ #else
+ #pragma pack(1)
+ #endif
+ #else
+ #pragma pack(1)
+ #endif
+#endif
+
Propchange: branches/ddk2003/include/ddk2003/pshpack1.h
------------------------------------------------------------------------------
svn:eol-style = native
Added: branches/ddk2003/include/ddk2003/pshpack2.h
URL:
http://svn.reactos.org/svn/reactos/branches/ddk2003/include/ddk2003/pshpack…
==============================================================================
--- branches/ddk2003/include/ddk2003/pshpack2.h (added)
+++ branches/ddk2003/include/ddk2003/pshpack2.h Thu Jun 28 01:28:21 2007
@@ -1,0 +1,15 @@
+
+#if ! (defined(lint) || defined(RC_INVOKED))
+ #if ( _MSC_VER >= 800 && !defined(_M_I86)) || defined(_PUSHPOP_SUPPORTED)
+ #pragma warning(disable:4103)
+ #if !(defined( MIDL_PASS )) || defined( __midl )
+ #pragma pack(push,2)
+ #else
+ #pragma pack(2)
+ #endif
+ #else
+ #pragma pack(2)
+#endif
+#endif
+
+
Propchange: branches/ddk2003/include/ddk2003/pshpack2.h
------------------------------------------------------------------------------
svn:eol-style = native
Added: branches/ddk2003/include/ddk2003/pshpack4.h
URL:
http://svn.reactos.org/svn/reactos/branches/ddk2003/include/ddk2003/pshpack…
==============================================================================
--- branches/ddk2003/include/ddk2003/pshpack4.h (added)
+++ branches/ddk2003/include/ddk2003/pshpack4.h Thu Jun 28 01:28:21 2007
@@ -1,0 +1,14 @@
+
+#if ! (defined(lint) || defined(RC_INVOKED))
+ #if ( _MSC_VER >= 800 && !defined(_M_I86)) || defined(_PUSHPOP_SUPPORTED)
+ #pragma warning(disable:4103)
+ #if !(defined( MIDL_PASS )) || defined( __midl )
+ #pragma pack(push,4)
+ #else
+ #pragma pack(4)
+ #endif
+ #else
+ #pragma pack(4)
+ #endif
+#endif
+
Propchange: branches/ddk2003/include/ddk2003/pshpack4.h
------------------------------------------------------------------------------
svn:eol-style = native
Added: branches/ddk2003/include/ddk2003/pshpack8.h
URL:
http://svn.reactos.org/svn/reactos/branches/ddk2003/include/ddk2003/pshpack…
==============================================================================
--- branches/ddk2003/include/ddk2003/pshpack8.h (added)
+++ branches/ddk2003/include/ddk2003/pshpack8.h Thu Jun 28 01:28:21 2007
@@ -1,0 +1,14 @@
+
+#if ! (defined(lint) || defined(RC_INVOKED))
+ #if ( _MSC_VER >= 800 && !defined(_M_I86)) || defined(_PUSHPOP_SUPPORTED)
+ #pragma warning(disable:4103)
+ #if !(defined( MIDL_PASS )) || defined( __midl )
+ #pragma pack(push,8)
+ #else
+ #pragma pack(8)
+ #endif
+ #else
+ #pragma pack(8)
+ #endif
+#endif
+
Propchange: branches/ddk2003/include/ddk2003/pshpack8.h
------------------------------------------------------------------------------
svn:eol-style = native
Added: branches/ddk2003/include/ddk2003/pshpck16.h
URL:
http://svn.reactos.org/svn/reactos/branches/ddk2003/include/ddk2003/pshpck1…
==============================================================================
--- branches/ddk2003/include/ddk2003/pshpck16.h (added)
+++ branches/ddk2003/include/ddk2003/pshpck16.h Thu Jun 28 01:28:21 2007
@@ -1,0 +1,14 @@
+
+#if ! (defined(lint) || defined(RC_INVOKED))
+ #if ( _MSC_VER >= 800 ) || defined(_PUSHPOP_SUPPORTED)
+ #pragma warning(disable:4103)
+ #if !(defined( MIDL_PASS )) || defined( __midl )
+ #pragma pack(push,16)
+ #else
+ #pragma pack(16)
+ #endif
+ #else
+ #pragma pack(16)
+ #endif
+#endif
+
Propchange: branches/ddk2003/include/ddk2003/pshpck16.h
------------------------------------------------------------------------------
svn:eol-style = native
Added: branches/ddk2003/include/ddk2003/punknown.h
URL:
http://svn.reactos.org/svn/reactos/branches/ddk2003/include/ddk2003/punknow…
==============================================================================
--- branches/ddk2003/include/ddk2003/punknown.h (added)
+++ branches/ddk2003/include/ddk2003/punknown.h Thu Jun 28 01:28:21 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, 0x00, 0x00, 0xc0, 0x00, 0x00, 0x00,
0x00, 0x46);
+
+#undef INTERFACE
+#define INTERFACE IUnknown
+DECLARE_INTERFACE(IUnknown)
+{
+ STDMETHOD_(NTSTATUS,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
+
Propchange: branches/ddk2003/include/ddk2003/punknown.h
------------------------------------------------------------------------------
svn:eol-style = native
Added: branches/ddk2003/include/ddk2003/rpcnsip.h
URL:
http://svn.reactos.org/svn/reactos/branches/ddk2003/include/ddk2003/rpcnsip…
==============================================================================
--- branches/ddk2003/include/ddk2003/rpcnsip.h (added)
+++ branches/ddk2003/include/ddk2003/rpcnsip.h Thu Jun 28 01:28:21 2007
@@ -1,0 +1,65 @@
+
+#ifndef __RPCNSIP_H__
+#define __RPCNSIP_H__
+
+#if _MSC_VER > 1000
+#pragma once
+#endif
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+typedef struct
+{
+ RPC_NS_HANDLE LookupContext;
+ RPC_BINDING_HANDLE ProposedHandle;
+ RPC_BINDING_VECTOR *Bindings;
+} RPC_IMPORT_CONTEXT_P, *PRPC_IMPORT_CONTEXT_P;
+
+RPCNSAPI
+RPC_STATUS
+RPC_ENTRY
+I_RpcNsGetBuffer(IN PRPC_MESSAGE Message);
+
+
+RPCNSAPI
+void
+RPC_ENTRY
+I_RpcNsRaiseException(
+ IN PRPC_MESSAGE Message,
+ IN RPC_STATUS Status);
+
+RPCNSAPI
+RPC_STATUS
+RPC_ENTRY
+I_NsServerBindSearch();
+
+RPCNSAPI
+RPC_STATUS
+RPC_ENTRY
+I_RpcReBindBuffer(IN PRPC_MESSAGE Message);
+
+RPCNSAPI
+void
+RPC_ENTRY
+I_NsClientBindDone();
+
+RPCNSAPI
+RPC_STATUS
+RPC_ENTRY
+I_NsClientBindSearch();
+
+RPCNSAPI
+RPC_STATUS
+RPC_ENTRY
+I_RpcNsSendReceive(
+ IN PRPC_MESSAGE Message,
+ OUT RPC_BINDING_HANDLE __RPC_FAR * Handle);
+
+#ifdef __cplusplus
+}
+#endif
+
+#endif
+
Propchange: branches/ddk2003/include/ddk2003/rpcnsip.h
------------------------------------------------------------------------------
svn:eol-style = native