Author: greatlrd
Date: Thu Jun 28 12:48:07 2007
New Revision: 27300
URL:
http://svn.reactos.org/svn/reactos?rev=27300&view=rev
Log:
cleaning up ddk header file, I am aming for ddk2003sp1 3790.1830 compatible
Added:
branches/ddk2003/include/ddk2003/cderr.h (with props)
branches/ddk2003/include/ddk2003/dbclib.h (with props)
branches/ddk2003/include/ddk2003/dmusbuff.h (with props)
branches/ddk2003/include/ddk2003/lzexpand.h (with props)
branches/ddk2003/include/ddk2003/mountdev.h (with props)
branches/ddk2003/include/ddk2003/oprghdlr.h (with props)
branches/ddk2003/include/ddk2003/pfhook.h (with props)
branches/ddk2003/include/ddk2003/readme.txt (with props)
branches/ddk2003/include/ddk2003/rpcnterr.h (with props)
branches/ddk2003/include/ddk2003/stireg.h (with props)
branches/ddk2003/include/ddk2003/tcpxcv.h (with props)
branches/ddk2003/include/ddk2003/usbprint.h (with props)
branches/ddk2003/include/ddk2003/wiatwcmp.h (with props)
branches/ddk2003/include/ddk2003/winnls32.h (with props)
Removed:
branches/ddk2003/include/ddk/mountdev.h
branches/ddk2003/include/ddk/oprghdlr.h
branches/ddk2003/include/ddk/pfhook.h
branches/ddk2003/include/ddk/stireg.h
branches/ddk2003/include/ddk/usbprint.h
Removed: branches/ddk2003/include/ddk/mountdev.h
URL:
http://svn.reactos.org/svn/reactos/branches/ddk2003/include/ddk/mountdev.h?…
==============================================================================
--- branches/ddk2003/include/ddk/mountdev.h (original)
+++ branches/ddk2003/include/ddk/mountdev.h (removed)
@@ -1,42 +1,0 @@
-
-
-#ifndef _MOUNTDEV_
-#define _MOUNTDEV_
-
-#include <mountmgr.h>
-
-#define IOCTL_MOUNTDEV_QUERY_UNIQUE_ID CTL_CODE(MOUNTDEVCONTROLTYPE, 0,
METHOD_BUFFERED, FILE_ANY_ACCESS)
-#define IOCTL_MOUNTDEV_UNIQUE_ID_CHANGE_NOTIFY CTL_CODE(MOUNTDEVCONTROLTYPE, 1,
METHOD_BUFFERED, FILE_ANY_ACCESS)
-#define IOCTL_MOUNTDEV_QUERY_SUGGESTED_LINK_NAME CTL_CODE(MOUNTDEVCONTROLTYPE, 3,
METHOD_BUFFERED, FILE_ANY_ACCESS)
-#define IOCTL_MOUNTDEV_LINK_CREATED CTL_CODE(MOUNTDEVCONTROLTYPE, 4,
METHOD_BUFFERED, FILE_ANY_ACCESS)
-#define IOCTL_MOUNTDEV_LINK_DELETED CTL_CODE(MOUNTDEVCONTROLTYPE, 5,
METHOD_BUFFERED, FILE_ANY_ACCESS)
-#define IOCTL_MOUNTDEV_QUERY_STABLE_GUID CTL_CODE(MOUNTDEVCONTROLTYPE, 6,
METHOD_BUFFERED, FILE_ANY_ACCESS)
-
-typedef struct _MOUNTDEV_UNIQUE_ID_CHANGE_NOTIFY_OUTPUT
-{
- ULONG Size;
- USHORT OldUniqueIdOffset;
- USHORT OldUniqueIdLength;
- USHORT NewUniqueIdOffset;
- USHORT NewUniqueIdLength;
-} MOUNTDEV_UNIQUE_ID_CHANGE_NOTIFY_OUTPUT, *PMOUNTDEV_UNIQUE_ID_CHANGE_NOTIFY_OUTPUT;
-
-typedef struct _MOUNTDEV_SUGGESTED_LINK_NAME
-{
- BOOLEAN UseOnlyIfThereAreNoOtherLinks;
- USHORT NameLength;
- WCHAR Name[1];
-} MOUNTDEV_SUGGESTED_LINK_NAME, *PMOUNTDEV_SUGGESTED_LINK_NAME;
-
-typedef struct _MOUNTDEV_UNIQUE_ID
-{
- USHORT UniqueIdLength;
- UCHAR UniqueId[1];
-} MOUNTDEV_UNIQUE_ID, *PMOUNTDEV_UNIQUE_ID;
-
-typedef struct _MOUNTDEV_STABLE_GUID
-{
- GUID StableGuid;
-} MOUNTDEV_STABLE_GUID, *PMOUNTDEV_STABLE_GUID;
-
-#endif
Removed: branches/ddk2003/include/ddk/oprghdlr.h
URL:
http://svn.reactos.org/svn/reactos/branches/ddk2003/include/ddk/oprghdlr.h?…
==============================================================================
--- branches/ddk2003/include/ddk/oprghdlr.h (original)
+++ branches/ddk2003/include/ddk/oprghdlr.h (removed)
@@ -1,43 +1,0 @@
-#include "wdm.h"
-
-#ifdef EXPORT
- #undef EXPORT
-#endif
-#define EXPORT __cdecl
-
-
-typedef VOID (EXPORT *PACPI_OP_REGION_CALLBACK)();
-
-typedef
-NTSTATUS
-(EXPORT *PACPI_OP_REGION_HANDLER) (ULONG AccessType,
- PVOID OperationRegionObject,
- ULONG Address,
- ULONG Size,
- PULONG Data,
- ULONG_PTR Context,
- PACPI_OP_REGION_CALLBACK CompletionHandler,
- PVOID CompletionContext);
-
-NTSTATUS
-RegisterOpRegionHandler (IN PDEVICE_OBJECT DeviceObject,
- IN ULONG AccessType,
- IN ULONG RegionSpace,
- IN PACPI_OP_REGION_HANDLER Handler,
- IN PVOID Context, IN ULONG Flags,
- IN OUT PVOID *OperationRegionObject);
-
-NTSTATUS
-DeRegisterOpRegionHandler (IN PDEVICE_OBJECT DeviceObject,
- IN PVOID OperationRegionObject);
-
-#define ACPI_OPREGION_ACCESS_AS_RAW 0x1
-#define ACPI_OPREGION_ACCESS_AS_COOKED 0x2
-#define ACPI_OPREGION_REGION_SPACE_MEMORY 0x0
-#define ACPI_OPREGION_REGION_SPACE_IO 0x1
-#define ACPI_OPREGION_REGION_SPACE_PCI_CONFIG 0x2
-#define ACPI_OPREGION_REGION_SPACE_EC 0x3
-#define ACPI_OPREGION_REGION_SPACE_SMB 0x4
-#define ACPI_OPREGION_READ 0x0
-#define ACPI_OPREGION_WRITE 0x1
-#define ACPI_OPREGION_ACCESS_AT_HIGH_LEVEL 0x1
Removed: branches/ddk2003/include/ddk/pfhook.h
URL:
http://svn.reactos.org/svn/reactos/branches/ddk2003/include/ddk/pfhook.h?re…
==============================================================================
--- branches/ddk2003/include/ddk/pfhook.h (original)
+++ branches/ddk2003/include/ddk/pfhook.h (removed)
@@ -1,74 +1,0 @@
-/*
- * pfhook.h
- *
- * Packet filter API
- *
- * This file is part of the w32api package.
- *
- * Contributors:
- * Created by Casper S. Hornstrup <chorns(a)users.sourceforge.net>
- *
- * THIS SOFTWARE IS NOT COPYRIGHTED
- *
- * This source code is offered for use in the public domain. You may
- * use, modify or distribute it freely.
- *
- * This code is distributed in the hope that it will be useful but
- * WITHOUT ANY WARRANTY. ALL WARRANTIES, EXPRESS OR IMPLIED ARE HEREBY
- * DISCLAIMED. This includes but is not limited to warranties of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
- *
- */
-
-#ifndef __PFHOOK_H
-#define __PFHOOK_H
-
-#if __GNUC__ >=3
-#pragma GCC system_header
-#endif
-
-#ifdef __cplusplus
-extern "C" {
-#endif
-
-#define DD_IPFLTRDRVR_DEVICE_NAME L"\\Device\\IPFILTERDRIVER"
-
-#define INVALID_PF_IF_INDEX 0xffffffff
-#define ZERO_PF_IP_ADDR 0
-
-typedef ULONG IPAddr;
-
-typedef enum _PF_FORWARD_ACTION {
- PF_FORWARD = 0,
- PF_DROP = 1,
- PF_PASS = 2,
- PF_ICMP_ON_DROP = 3
-} PF_FORWARD_ACTION;
-
-typedef PF_FORWARD_ACTION STDCALL
-(*PacketFilterExtensionPtr)(
- IN unsigned char *PacketHeader,
- IN unsigned char *Packet,
- IN unsigned int PacketLength,
- IN unsigned int RecvInterfaceIndex,
- IN unsigned int SendInterfaceIndex,
- IN IPAddr RecvLinkNextHop,
- IN IPAddr SendLinkNextHop);
-
-typedef struct _PF_SET_EXTENSION_HOOK_INFO {
- PacketFilterExtensionPtr ExtensionPointer;
-} PF_SET_EXTENSION_HOOK_INFO, *PPF_SET_EXTENSION_HOOK_INFO;
-
-#define FSCTL_IPFLTRDRVR_BASE FILE_DEVICE_NETWORK
-
-#define _IPFLTRDRVR_CTL_CODE(function, method, access) \
- CTL_CODE(FSCTL_IPFLTRDRVR_BASE, function, method, access)
-
-#define IOCTL_PF_SET_EXTENSION_POINTER \
- _IPFLTRDRVR_CTL_CODE(22, METHOD_BUFFERED, FILE_WRITE_ACCESS)
-
-#ifdef __cplusplus
-}
-#endif
-
-#endif /* __PFHOOK_H */
Removed: branches/ddk2003/include/ddk/stireg.h
URL:
http://svn.reactos.org/svn/reactos/branches/ddk2003/include/ddk/stireg.h?re…
==============================================================================
--- branches/ddk2003/include/ddk/stireg.h (original)
+++ branches/ddk2003/include/ddk/stireg.h (removed)
@@ -1,39 +1,0 @@
-#ifndef _STIREG_
-#define _STIREG_
-#define REGSTR_VAL_TYPE_W L"Type"
-#define REGSTR_VAL_VENDOR_NAME_W L"Vendor"
-#define REGSTR_VAL_DEVICETYPE_W L"DeviceType"
-#define REGSTR_VAL_DEVICESUBTYPE_W L"DeviceSubType"
-#define REGSTR_VAL_DEV_NAME_W L"DeviceName"
-#define REGSTR_VAL_DRIVER_DESC_W L"DriverDesc"
-#define REGSTR_VAL_FRIENDLY_NAME_W L"FriendlyName"
-#define REGSTR_VAL_GENERIC_CAPS_W L"Capabilities"
-#define REGSTR_VAL_HARDWARE_W L"HardwareConfig"
-#define REGSTR_VAL_HARDWARE TEXT("HardwareConfig")
-#define REGSTR_VAL_DEVICE_NAME_W L"DriverDesc"
-#define REGSTR_VAL_DATA_W L"DeviceData"
-#define REGSTR_VAL_GUID_W L"GUID"
-#define REGSTR_VAL_GUID TEXT("GUID")
-#define REGSTR_VAL_LAUNCH_APPS_W L"LaunchApplications"
-#define REGSTR_VAL_LAUNCH_APPS TEXT("LaunchApplications")
-#define REGSTR_VAL_LAUNCHABLE_W L"Launchable"
-#define REGSTR_VAL_LAUNCHABLE TEXT("Launchable")
-#define IS_DIGITAL_CAMERA_STR L"IsDigitalCamera"
-#define IS_DIGITAL_CAMERA_VAL 1
-#define SUPPORTS_MSCPLUS_STR L"SupportsMSCPlus"
-#define SUPPORTS_MSCPLUS_VAL 1
-#define STI_DEVICE_VALUE_TWAIN_NAME L"TwainDS"
-#define STI_DEVICE_VALUE_ISIS_NAME L"ISISDriverName"
-#define STI_DEVICE_VALUE_ICM_PROFILE L"ICMProfile"
-#define STI_DEVICE_VALUE_DEFAULT_LAUNCHAPP L"DefaultLaunchApp"
-#define STI_DEVICE_VALUE_TIMEOUT L"PollTimeout"
-#define STI_DEVICE_VALUE_DISABLE_NOTIFICATIONS L"DisableNotifications"
-#define REGSTR_VAL_BAUDRATE L"BaudRate"
-#define STI_DEVICE_VALUE_TWAIN_NAME_A "TwainDS"
-#define STI_DEVICE_VALUE_ISIS_NAME_A "ISISDriverName"
-#define STI_DEVICE_VALUE_ICM_PROFILE_A "ICMProfile"
-#define STI_DEVICE_VALUE_DEFAULT_LAUNCHAPP_A "DefaultLaunchApp"
-#define STI_DEVICE_VALUE_TIMEOUT_A "PollTimeout"
-#define STI_DEVICE_VALUE_DISABLE_NOTIFICATIONS_A "DisableNotifications"
-#define REGSTR_VAL_BAUDRATE_A "BaudRate"
-#endif
Removed: branches/ddk2003/include/ddk/usbprint.h
URL:
http://svn.reactos.org/svn/reactos/branches/ddk2003/include/ddk/usbprint.h?…
==============================================================================
--- branches/ddk2003/include/ddk/usbprint.h (original)
+++ branches/ddk2003/include/ddk/usbprint.h (removed)
@@ -1,17 +1,0 @@
-
-#define USBPRINT_IOCTL_INDEX 0x0000
-#define IOCTL_USBPRINT_GET_LPT_STATUS \
- CTL_CODE(FILE_DEVICE_UNKNOWN, USBPRINT_IOCTL_INDEX+12,
METHOD_BUFFERED, FILE_ANY_ACCESS)
-
-#define IOCTL_USBPRINT_GET_1284_ID \
- CTL_CODE(FILE_DEVICE_UNKNOWN, USBPRINT_IOCTL_INDEX+13,
METHOD_BUFFERED, FILE_ANY_ACCESS)
-
-#define IOCTL_USBPRINT_VENDOR_SET_COMMAND \
- CTL_CODE(FILE_DEVICE_UNKNOWN, USBPRINT_IOCTL_INDEX+14,
METHOD_BUFFERED, FILE_ANY_ACCESS)
-
-#define IOCTL_USBPRINT_VENDOR_GET_COMMAND \
- CTL_CODE(FILE_DEVICE_UNKNOWN, USBPRINT_IOCTL_INDEX+15,
METHOD_BUFFERED, FILE_ANY_ACCESS)
-
-#define IOCTL_USBPRINT_SOFT_RESET \
- CTL_CODE(FILE_DEVICE_UNKNOWN, USBPRINT_IOCTL_INDEX+16,
METHOD_BUFFERED, FILE_ANY_ACCESS)
-
Added: branches/ddk2003/include/ddk2003/cderr.h
URL:
http://svn.reactos.org/svn/reactos/branches/ddk2003/include/ddk2003/cderr.h…
==============================================================================
--- branches/ddk2003/include/ddk2003/cderr.h (added)
+++ branches/ddk2003/include/ddk2003/cderr.h Thu Jun 28 12:48:07 2007
@@ -1,0 +1,46 @@
+
+#ifndef _INC_CDERR
+#define _INC_CDERR
+
+#if _MSC_VER > 1000
+#pragma once
+#endif
+
+#define CCERR_CHOOSECOLORCODES 0x5000
+#define CDERR_DIALOGFAILURE 0xFFFF
+#define CDERR_FINDRESFAILURE 0x0006
+#define CDERR_GENERALCODES 0x0000
+#define CDERR_INITIALIZATION 0x0002
+#define CDERR_LOADSTRFAILURE 0x0005
+#define CDERR_LOADRESFAILURE 0x0007
+#define CDERR_LOCKRESFAILURE 0x0008
+#define CDERR_MEMALLOCFAILURE 0x0009
+#define CDERR_MEMLOCKFAILURE 0x000A
+#define CDERR_NOTEMPLATE 0x0003
+#define CDERR_NOHINSTANCE 0x0004
+#define CDERR_NOHOOK 0x000B
+#define CDERR_REGISTERMSGFAIL 0x000C
+#define CDERR_STRUCTSIZE 0x0001
+#define CFERR_CHOOSEFONTCODES 0x2000
+#define CFERR_MAXLESSTHANMIN 0x2002
+#define CFERR_NOFONTS 0x2001
+#define PDERR_CREATEICFAILURE 0x100A
+#define PDERR_DEFAULTDIFFERENT 0x100C
+#define PDERR_DNDMMISMATCH 0x1009
+#define PDERR_GETDEVMODEFAIL 0x1005
+#define PDERR_INITFAILURE 0x1006
+#define PDERR_LOADDRVFAILURE 0x1004
+#define PDERR_NODEVICES 0x1007
+#define PDERR_NODEFAULTPRN 0x1008
+#define PDERR_PARSEFAILURE 0x1002
+#define PDERR_PRINTERCODES 0x1000
+#define PDERR_PRINTERNOTFOUND 0x100B
+#define PDERR_RETDEFFAILURE 0x1003
+#define PDERR_SETUPFAILURE 0x1001
+#define FRERR_FINDREPLACECODES 0x4000
+#define FNERR_FILENAMECODES 0x3000
+#define FNERR_INVALIDFILENAME 0x3002
+#define FNERR_SUBCLASSFAILURE 0x3001
+
+#endif
+
Propchange: branches/ddk2003/include/ddk2003/cderr.h
------------------------------------------------------------------------------
svn:eol-style = native
Added: branches/ddk2003/include/ddk2003/dbclib.h
URL:
http://svn.reactos.org/svn/reactos/branches/ddk2003/include/ddk2003/dbclib.…
==============================================================================
--- branches/ddk2003/include/ddk2003/dbclib.h (added)
+++ branches/ddk2003/include/ddk2003/dbclib.h Thu Jun 28 12:48:07 2007
@@ -1,0 +1,55 @@
+
+#ifndef __DBCLIB_H__
+#define __DBCLIB_H__
+
+#define DBCLASS_VERSION 0x10000002
+
+DECLSPEC_IMPORT
+NTSTATUS
+DBCLASS_RegisterController(
+ IN ULONG DbclassVersion,
+ IN PDEVICE_OBJECT ControllerFdo,
+ IN PDEVICE_OBJECT TopOfStack,
+ IN PDEVICE_OBJECT ControllerPdo,
+ IN ULONG ControllerSig);
+
+DECLSPEC_IMPORT
+NTSTATUS
+DBCLASS_UnRegisterController(
+ IN PDEVICE_OBJECT ControllerFdo,
+ IN PDEVICE_OBJECT TopOfStack );
+
+DECLSPEC_IMPORT
+NTSTATUS
+DBCLASS_ClassDispatch(
+ IN PDEVICE_OBJECT ControllerFdo,
+ IN PIRP Irp,
+ IN PBOOLEAN HandledByClass);
+
+DECLSPEC_IMPORT
+NTSTATUS
+DBCLASS_FilterDispatch(
+ IN PDEVICE_OBJECT ControllerFdo,
+ IN PIRP Irp);
+
+DECLSPEC_IMPORT
+NTSTATUS
+DBCLASS_SetD0_Complete(
+ PDEVICE_OBJECT DeviceObject,
+ PIRP Irp);
+
+DECLSPEC_IMPORT
+NTSTATUS
+DBCLASS_RegisterBusFilter(
+ IN ULONG DbclassVersion,
+ IN PDRIVER_OBJECT BusFilterDriverObject,
+ IN PDEVICE_OBJECT FilterFdo
+ );
+
+
+
+#endif
+
+#endif
+
+
Propchange: branches/ddk2003/include/ddk2003/dbclib.h
------------------------------------------------------------------------------
svn:eol-style = native
Added: branches/ddk2003/include/ddk2003/dmusbuff.h
URL:
http://svn.reactos.org/svn/reactos/branches/ddk2003/include/ddk2003/dmusbuf…
==============================================================================
--- branches/ddk2003/include/ddk2003/dmusbuff.h (added)
+++ branches/ddk2003/include/ddk2003/dmusbuff.h Thu Jun 28 12:48:07 2007
@@ -1,0 +1,21 @@
+
+#ifndef _DMusBuff_
+#define _DMusBuff_
+
+#define DMUS_EVENT_STRUCTURED 0x00000001
+#define QWORD_ALIGN(x) (((x) + 7) & ~7)
+#define DMUS_EVENT_SIZE(cb) QWORD_ALIGN(sizeof(DMUS_EVENTHEADER) + cb)
+
+#include <pshpack4.h>
+typedef struct _DMUS_EVENTHEADER *LPDMUS_EVENTHEADER;
+typedef struct _DMUS_EVENTHEADER
+{
+ DWORD cbEvent;
+ DWORD dwChannelGroup;
+ REFERENCE_TIME rtDelta;
+ DWORD dwFlags;
+} DMUS_EVENTHEADER;
+#include <poppack.h>
+
+#endif
+
Propchange: branches/ddk2003/include/ddk2003/dmusbuff.h
------------------------------------------------------------------------------
svn:eol-style = native
Added: branches/ddk2003/include/ddk2003/lzexpand.h
URL:
http://svn.reactos.org/svn/reactos/branches/ddk2003/include/ddk2003/lzexpan…
==============================================================================
--- branches/ddk2003/include/ddk2003/lzexpand.h (added)
+++ branches/ddk2003/include/ddk2003/lzexpand.h Thu Jun 28 12:48:07 2007
@@ -1,0 +1,102 @@
+
+#ifndef _LZEXPAND_
+#define _LZEXPAND_
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+#define LZERROR_BADINHANDLE (-1)
+#define LZERROR_BADOUTHANDLE (-2)
+#define LZERROR_READ (-3)
+#define LZERROR_WRITE (-4)
+#define LZERROR_GLOBALLOC (-5)
+#define LZERROR_GLOBLOCK (-6)
+#define LZERROR_BADVALUE (-7)
+#define LZERROR_UNKNOWNALG (-8)
+
+
+LONG
+APIENTRY
+LZCopy(
+ INT,
+ INT);
+
+LONG
+APIENTRY
+CopyLZFile(
+ INT,
+ INT);
+
+INT
+APIENTRY
+GetExpandedNameA(
+ LPSTR,
+ LPSTR);
+
+INT
+APIENTRY
+GetExpandedNameW(
+ LPWSTR,
+ LPWSTR);
+
+VOID
+APIENTRY
+LZClose(INT);
+
+INT
+APIENTRY
+LZInit(INT);
+
+INT
+APIENTRY
+LZStart(VOID);
+
+VOID
+APIENTRY
+LZDone(VOID);
+
+
+INT
+APIENTRY
+LZOpenFileA(
+ LPSTR,
+ LPOFSTRUCT,
+ WORD);
+
+INT
+APIENTRY
+LZOpenFileW(
+ LPWSTR,
+ LPOFSTRUCT,
+ WORD);
+
+INT
+APIENTRY
+LZRead(
+ INT,
+ LPSTR,
+ INT);
+
+LONG
+APIENTRY
+LZSeek(
+ INT,
+ LONG,
+ INT);
+
+#ifdef UNICODE
+#define GetExpandedName GetExpandedNameW
+#define LZOpenFile LZOpenFileW
+#else
+#define GetExpandedName GetExpandedNameA
+#define LZOpenFile LZOpenFileA
+#endif
+
+#ifdef __cplusplus
+}
+#endif
+
+
+#endif
+
Propchange: branches/ddk2003/include/ddk2003/lzexpand.h
------------------------------------------------------------------------------
svn:eol-style = native
Added: branches/ddk2003/include/ddk2003/mountdev.h
URL:
http://svn.reactos.org/svn/reactos/branches/ddk2003/include/ddk2003/mountde…
==============================================================================
--- branches/ddk2003/include/ddk2003/mountdev.h (added)
+++ branches/ddk2003/include/ddk2003/mountdev.h Thu Jun 28 12:48:07 2007
@@ -1,0 +1,48 @@
+
+#ifndef _MOUNTDEV_
+#define _MOUNTDEV_
+
+#include <mountmgr.h>
+
+#define IOCTL_MOUNTDEV_QUERY_UNIQUE_ID \
+ CTL_CODE(MOUNTDEVCONTROLTYPE, 0, METHOD_BUFFERED, FILE_ANY_ACCESS)
+#define IOCTL_MOUNTDEV_UNIQUE_ID_CHANGE_NOTIFY \
+ CTL_CODE(MOUNTDEVCONTROLTYPE, 1, METHOD_BUFFERED, FILE_READ_ACCESS |
FILE_WRITE_ACCESS)
+#define IOCTL_MOUNTDEV_QUERY_SUGGESTED_LINK_NAME \
+ CTL_CODE(MOUNTDEVCONTROLTYPE, 3, METHOD_BUFFERED, FILE_ANY_ACCESS)
+#define IOCTL_MOUNTDEV_LINK_CREATED \
+ CTL_CODE(MOUNTDEVCONTROLTYPE, 4, METHOD_BUFFERED, FILE_READ_ACCESS |
FILE_WRITE_ACCESS)
+#define IOCTL_MOUNTDEV_LINK_DELETED \
+ CTL_CODE(MOUNTDEVCONTROLTYPE, 5, METHOD_BUFFERED, FILE_READ_ACCESS |
FILE_WRITE_ACCESS)
+#define IOCTL_MOUNTDEV_QUERY_STABLE_GUID \
+ CTL_CODE(MOUNTDEVCONTROLTYPE, 6, METHOD_BUFFERED, FILE_ANY_ACCESS)
+
+typedef struct _MOUNTDEV_UNIQUE_ID
+{
+ USHORT UniqueIdLength;
+ UCHAR UniqueId[1];
+} MOUNTDEV_UNIQUE_ID, *PMOUNTDEV_UNIQUE_ID;
+
+typedef struct _MOUNTDEV_UNIQUE_ID_CHANGE_NOTIFY_OUTPUT
+{
+ ULONG Size;
+ USHORT OldUniqueIdOffset;
+ USHORT OldUniqueIdLength;
+ USHORT NewUniqueIdOffset;
+ USHORT NewUniqueIdLength;
+} MOUNTDEV_UNIQUE_ID_CHANGE_NOTIFY_OUTPUT, *PMOUNTDEV_UNIQUE_ID_CHANGE_NOTIFY_OUTPUT;
+
+typedef struct _MOUNTDEV_STABLE_GUID
+{
+ GUID StableGuid;
+} MOUNTDEV_STABLE_GUID, *PMOUNTDEV_STABLE_GUID;
+
+typedef struct _MOUNTDEV_SUGGESTED_LINK_NAME
+{
+ BOOLEAN UseOnlyIfThereAreNoOtherLinks;
+ USHORT NameLength;
+ WCHAR Name[1];
+} MOUNTDEV_SUGGESTED_LINK_NAME, *PMOUNTDEV_SUGGESTED_LINK_NAME;
+
+#endif
+
Propchange: branches/ddk2003/include/ddk2003/mountdev.h
------------------------------------------------------------------------------
svn:eol-style = native
Added: branches/ddk2003/include/ddk2003/oprghdlr.h
URL:
http://svn.reactos.org/svn/reactos/branches/ddk2003/include/ddk2003/oprghdl…
==============================================================================
--- branches/ddk2003/include/ddk2003/oprghdlr.h (added)
+++ branches/ddk2003/include/ddk2003/oprghdlr.h Thu Jun 28 12:48:07 2007
@@ -1,0 +1,54 @@
+
+
+#include "wdm.h"
+
+#ifdef EXPORT
+ #undef EXPORT
+#endif
+#define EXPORT __cdecl
+
+#define ACPI_OPREGION_ACCESS_AS_RAW 0x1
+#define ACPI_OPREGION_ACCESS_AS_COOKED 0x2
+#define ACPI_OPREGION_REGION_SPACE_MEMORY 0x0
+#define ACPI_OPREGION_REGION_SPACE_IO 0x1
+#define ACPI_OPREGION_REGION_SPACE_PCI_CONFIG 0x2
+#define ACPI_OPREGION_REGION_SPACE_EC 0x3
+#define ACPI_OPREGION_REGION_SPACE_SMB 0x4
+#define ACPI_OPREGION_REGION_SPACE_CMOS_CONFIG 0x5
+#define ACPI_OPREGION_REGION_SPACE_PCIBARTARGET 0x6
+#define ACPI_OPREGION_READ 0x0
+#define ACPI_OPREGION_WRITE 0x1
+#define ACPI_OPREGION_ACCESS_AT_HIGH_LEVEL 0x1
+
+typedef VOID (EXPORT *PACPI_OP_REGION_CALLBACK)();
+
+typedef NTSTATUS (EXPORT *PACPI_OP_REGION_HANDLER)
+(
+ ULONG AccessType,
+ PVOID OperationRegionObject,
+ ULONG Address,
+ ULONG Size,
+ PULONG Data,
+ ULONG_PTR Context,
+ PACPI_OP_REGION_CALLBACK CompletionHandler,
+ PVOID CompletionContext);
+
+
+NTSTATUS
+RegisterOpRegionHandler (
+ IN PDEVICE_OBJECT DeviceObject,
+ IN ULONG AccessType,
+ IN ULONG RegionSpace,
+ IN PACPI_OP_REGION_HANDLER Handler,
+ IN PVOID Context,
+ IN ULONG Flags,
+ IN OUT PVOID *OperationRegionObject);
+
+NTSTATUS
+DeRegisterOpRegionHandler (
+ IN PDEVICE_OBJECT DeviceObject,
+ IN PVOID OperationRegionObject);
+
+
+
+
Propchange: branches/ddk2003/include/ddk2003/oprghdlr.h
------------------------------------------------------------------------------
svn:eol-style = native
Added: branches/ddk2003/include/ddk2003/pfhook.h
URL:
http://svn.reactos.org/svn/reactos/branches/ddk2003/include/ddk2003/pfhook.…
==============================================================================
--- branches/ddk2003/include/ddk2003/pfhook.h (added)
+++ branches/ddk2003/include/ddk2003/pfhook.h Thu Jun 28 12:48:07 2007
@@ -1,0 +1,39 @@
+
+#ifndef _PF_EXTEND_DEFS_H_
+#define _PF_EXTEND_DEFS_H_
+
+#define INVALID_PF_IF_INDEX 0xFFFFFFFF
+#define ZERO_PF_IP_ADDR 0
+#define DD_IPFLTRDRVR_DEVICE_NAME L"\\Device\\IPFILTERDRIVER"
+#define FSCTL_IPFLTRDRVR_BASE FILE_DEVICE_NETWORK
+
+#define _IPFLTRDRVR_CTL_CODE(function, method, access) \
+ CTL_CODE(FSCTL_IPFLTRDRVR_BASE, function, method, access)
+#define IOCTL_PF_SET_EXTENSION_POINTER \
+ _IPFLTRDRVR_CTL_CODE(22, METHOD_BUFFERED, FILE_WRITE_ACCESS)
+
+typedef enum _PF_FORWARD_ACTION
+{
+ PF_FORWARD = 0,
+ PF_DROP = 1,
+ PF_PASS = 2,
+ PF_ICMP_ON_DROP = 3
+} PF_FORWARD_ACTION;
+
+typedef PF_FORWARD_ACTION (*PacketFilterExtensionPtr)(
+ unsigned char *PacketHeader,
+ unsigned char *Packet,
+ unsigned int PacketLength,
+ unsigned int RecvInterfaceIndex,
+ unsigned int SendInterfaceIndex,
+ IPAddr RecvLinkNextHop,
+ IPAddr SendLinkNextHop);
+
+typedef struct _PF_SET_EXTENSION_HOOK_INFO
+{
+ PacketFilterExtensionPtr ExtensionPointer;
+} PF_SET_EXTENSION_HOOK_INFO, *PPF_SET_EXTENSION_HOOK_INFO;
+
+
+#endif
+
Propchange: branches/ddk2003/include/ddk2003/pfhook.h
------------------------------------------------------------------------------
svn:eol-style = native
Added: branches/ddk2003/include/ddk2003/readme.txt
URL:
http://svn.reactos.org/svn/reactos/branches/ddk2003/include/ddk2003/readme.…
==============================================================================
--- branches/ddk2003/include/ddk2003/readme.txt (added)
+++ branches/ddk2003/include/ddk2003/readme.txt Thu Jun 28 12:48:07 2007
@@ -1,0 +1,5 @@
+Diffent
+need be fixed
+Add #define FAR ?
+
+Add ifdef __REACTOS__ in ieverp.h
Propchange: branches/ddk2003/include/ddk2003/readme.txt
------------------------------------------------------------------------------
svn:eol-style = native
Added: branches/ddk2003/include/ddk2003/rpcnterr.h
URL:
http://svn.reactos.org/svn/reactos/branches/ddk2003/include/ddk2003/rpcnter…
==============================================================================
--- branches/ddk2003/include/ddk2003/rpcnterr.h (added)
+++ branches/ddk2003/include/ddk2003/rpcnterr.h Thu Jun 28 12:48:07 2007
@@ -1,0 +1,33 @@
+
+#ifndef __RPCNTERR_H__
+#define __RPCNTERR_H__
+
+#if _MSC_VER > 1000
+#pragma once
+#endif
+
+#define RPC_S_ACCESS_DENIED ERROR_ACCESS_DENIED
+#define RPC_S_ASYNC_CALL_PENDING ERROR_IO_PENDING
+#define RPC_S_BUFFER_TOO_SMALL ERROR_INSUFFICIENT_BUFFER
+#define RPC_S_INVALID_ARG ERROR_INVALID_PARAMETER
+#define RPC_S_INVALID_LEVEL ERROR_INVALID_PARAMETER
+#define RPC_S_INVALID_SECURITY_DESC ERROR_INVALID_SECURITY_DESCR
+#define RPC_S_OUT_OF_MEMORY ERROR_OUTOFMEMORY
+#define RPC_S_OUT_OF_THREADS ERROR_MAX_THRDS_REACHED
+#define RPC_S_OK ERROR_SUCCESS
+#define RPC_S_SERVER_OUT_OF_MEMORY ERROR_NOT_ENOUGH_SERVER_MEMORY
+#define RPC_S_TIMEOUT ERROR_TIMEOUT
+#define RPC_S_UNKNOWN_PRINCIPAL ERROR_NONE_MAPPED
+
+#define RPC_X_INVALID_BOUND RPC_S_INVALID_BOUND
+#define RPC_X_INVALID_BUFFER ERROR_INVALID_USER_BUFFER
+#define RPC_X_INVALID_PIPE_OPERATION RPC_X_WRONG_PIPE_ORDER
+#define RPC_X_INVALID_TAG RPC_S_INVALID_TAG
+#define RPC_X_ENUM_VALUE_TOO_LARGE RPC_X_ENUM_VALUE_OUT_OF_RANGE
+#define RPC_X_NO_MEMORY RPC_S_OUT_OF_MEMORY
+#define RPC_X_PIPE_APP_MEMORY ERROR_OUTOFMEMORY
+#define RPC_X_SS_CONTEXT_MISMATCH ERROR_INVALID_HANDLE
+
+
+#endif
+
Propchange: branches/ddk2003/include/ddk2003/rpcnterr.h
------------------------------------------------------------------------------
svn:eol-style = native
Added: branches/ddk2003/include/ddk2003/stireg.h
URL:
http://svn.reactos.org/svn/reactos/branches/ddk2003/include/ddk2003/stireg.…
==============================================================================
--- branches/ddk2003/include/ddk2003/stireg.h (added)
+++ branches/ddk2003/include/ddk2003/stireg.h Thu Jun 28 12:48:07 2007
@@ -1,0 +1,44 @@
+
+#ifndef _STIREG_
+#define _STIREG_
+
+#define REGSTR_VAL_TYPE_W L"Type"
+#define REGSTR_VAL_VENDOR_NAME_W L"Vendor"
+#define REGSTR_VAL_DEVICETYPE_W L"DeviceType"
+#define REGSTR_VAL_DEVICESUBTYPE_W L"DeviceSubType"
+#define REGSTR_VAL_DEV_NAME_W L"DeviceName"
+#define REGSTR_VAL_DRIVER_DESC_W L"DriverDesc"
+#define REGSTR_VAL_FRIENDLY_NAME_W L"FriendlyName"
+#define REGSTR_VAL_GENERIC_CAPS_W L"Capabilities"
+#define REGSTR_VAL_HARDWARE_W L"HardwareConfig"
+#define REGSTR_VAL_HARDWARE TEXT("HardwareConfig")
+#define REGSTR_VAL_DEVICE_NAME_W L"DriverDesc"
+#define REGSTR_VAL_DATA_W L"DeviceData"
+#define REGSTR_VAL_GUID_W L"GUID"
+#define REGSTR_VAL_GUID TEXT("GUID")
+#define REGSTR_VAL_LAUNCH_APPS_W L"LaunchApplications"
+#define REGSTR_VAL_LAUNCH_APPS TEXT("LaunchApplications")
+#define REGSTR_VAL_LAUNCHABLE_W L"Launchable"
+#define REGSTR_VAL_LAUNCHABLE TEXT("Launchable")
+#define IS_DIGITAL_CAMERA_STR L"IsDigitalCamera"
+#define SUPPORTS_MSCPLUS_STR L"SupportsMSCPlus"
+#define STI_DEVICE_VALUE_TWAIN_NAME L"TwainDS"
+#define STI_DEVICE_VALUE_ISIS_NAME L"ISISDriverName"
+#define STI_DEVICE_VALUE_ICM_PROFILE L"ICMProfile"
+#define STI_DEVICE_VALUE_DEFAULT_LAUNCHAPP L"DefaultLaunchApp"
+#define STI_DEVICE_VALUE_TIMEOUT L"PollTimeout"
+#define STI_DEVICE_VALUE_DISABLE_NOTIFICATIONS L"DisableNotifications"
+#define REGSTR_VAL_BAUDRATE L"BaudRate"
+#define STI_DEVICE_VALUE_TWAIN_NAME_A "TwainDS"
+#define STI_DEVICE_VALUE_ISIS_NAME_A "ISISDriverName"
+#define STI_DEVICE_VALUE_ICM_PROFILE_A "ICMProfile"
+#define STI_DEVICE_VALUE_DEFAULT_LAUNCHAPP_A "DefaultLaunchApp"
+#define STI_DEVICE_VALUE_TIMEOUT_A "PollTimeout"
+#define STI_DEVICE_VALUE_DISABLE_NOTIFICATIONS_A "DisableNotifications"
+#define REGSTR_VAL_BAUDRATE_A "BaudRate"
+#define SUPPORTS_MSCPLUS_VAL 1
+#define IS_DIGITAL_CAMERA_VAL 1
+
+#endif
+
+
Propchange: branches/ddk2003/include/ddk2003/stireg.h
------------------------------------------------------------------------------
svn:eol-style = native
Added: branches/ddk2003/include/ddk2003/tcpxcv.h
URL:
http://svn.reactos.org/svn/reactos/branches/ddk2003/include/ddk2003/tcpxcv.…
==============================================================================
--- branches/ddk2003/include/ddk2003/tcpxcv.h (added)
+++ branches/ddk2003/include/ddk2003/tcpxcv.h Thu Jun 28 12:48:07 2007
@@ -1,0 +1,59 @@
+
+#ifndef _TCPXCV_
+#define _TCPXCV_
+
+#if (!defined(RAWTCP))
+#define RAWTCP 1
+#define PROTOCOL_RAWTCP_TYPE RAWTCP
+#endif
+
+#if (!defined(LPR))
+#define LPR 2
+#define PROTOCOL_LPR_TYPE LPR
+#endif
+
+#define MAX_PORTNAME_LEN 63 +1
+#define MAX_NETWORKNAME_LEN 48 +1
+#define MAX_SNMP_COMMUNITY_STR_LEN 32 +1
+#define MAX_QUEUENAME_LEN 32 +1
+#define MAX_IPADDR_STR_LEN 15 +1
+#define MAX_ADDRESS_STR_LEN 12 +1
+#define MAX_DEVICEDESCRIPTION_STR_LEN 256+1
+
+
+typedef struct _CONFIG_INFO_DATA_1
+{
+ BYTE Reserved[128];
+ DWORD dwVersion;
+} CONFIG_INFO_DATA_1, *PCONFIG_INFO_DATA_1;
+
+
+typedef struct _DELETE_PORT_DATA_1
+{
+ WCHAR psztPortName[MAX_PORTNAME_LEN];
+ BYTE Reserved[98];
+ DWORD dwVersion;
+ DWORD dwReserved;
+} DELETE_PORT_DATA_1, *PDELETE_PORT_DATA_1;
+
+typedef struct _PORT_DATA_1
+{
+ WCHAR sztPortName[MAX_PORTNAME_LEN];
+ DWORD dwVersion;
+ DWORD dwProtocol;
+ DWORD cbSize;
+ DWORD dwReserved;
+ WCHAR sztHostAddress[MAX_NETWORKNAME_LEN];
+ WCHAR sztSNMPCommunity[MAX_SNMP_COMMUNITY_STR_LEN];
+ DWORD dwDoubleSpool;
+ WCHAR sztQueue[MAX_QUEUENAME_LEN];
+ WCHAR sztIPAddress[MAX_IPADDR_STR_LEN];
+ BYTE Reserved[540];
+ DWORD dwPortNumber;
+ DWORD dwSNMPEnabled;
+ DWORD dwSNMPDevIndex;
+} PORT_DATA_1, *PPORT_DATA_1;
+
+
+#endif
+
Propchange: branches/ddk2003/include/ddk2003/tcpxcv.h
------------------------------------------------------------------------------
svn:eol-style = native
Added: branches/ddk2003/include/ddk2003/usbprint.h
URL:
http://svn.reactos.org/svn/reactos/branches/ddk2003/include/ddk2003/usbprin…
==============================================================================
--- branches/ddk2003/include/ddk2003/usbprint.h (added)
+++ branches/ddk2003/include/ddk2003/usbprint.h Thu Jun 28 12:48:07 2007
@@ -1,0 +1,18 @@
+
+#define USBPRINT_IOCTL_INDEX 0x0000
+
+#define IOCTL_USBPRINT_GET_LPT_STATUS CTL_CODE(FILE_DEVICE_UNKNOWN, \
+ USBPRINT_IOCTL_INDEX+12, METHOD_BUFFERED, FILE_ANY_ACCESS)
+
+#define IOCTL_USBPRINT_GET_1284_ID CTL_CODE(FILE_DEVICE_UNKNOWN, \
+ USBPRINT_IOCTL_INDEX+13, METHOD_BUFFERED, FILE_ANY_ACCESS)
+
+#define IOCTL_USBPRINT_VENDOR_SET_COMMAND CTL_CODE(FILE_DEVICE_UNKNOWN, \
+ USBPRINT_IOCTL_INDEX+14, METHOD_BUFFERED, FILE_ANY_ACCESS)
+
+#define IOCTL_USBPRINT_VENDOR_GET_COMMAND CTL_CODE(FILE_DEVICE_UNKNOWN, \
+ USBPRINT_IOCTL_INDEX+15, METHOD_BUFFERED, FILE_ANY_ACCESS)
+
+#define IOCTL_USBPRINT_SOFT_RESET CTL_CODE(FILE_DEVICE_UNKNOWN, \
+ USBPRINT_IOCTL_INDEX+16, METHOD_BUFFERED, FILE_ANY_ACCESS)
+
Propchange: branches/ddk2003/include/ddk2003/usbprint.h
------------------------------------------------------------------------------
svn:eol-style = native
Added: branches/ddk2003/include/ddk2003/wiatwcmp.h
URL:
http://svn.reactos.org/svn/reactos/branches/ddk2003/include/ddk2003/wiatwcm…
==============================================================================
--- branches/ddk2003/include/ddk2003/wiatwcmp.h (added)
+++ branches/ddk2003/include/ddk2003/wiatwcmp.h Thu Jun 28 12:48:07 2007
@@ -1,0 +1,23 @@
+
+#ifndef _WIATWCMP_H_
+#define _WIATWCMP_H_
+
+#define WiaItemTypeTwainCapabilityPassThrough 0x00020000
+#define ESC_TWAIN_CAPABILITY 2001
+#define ESC_TWAIN_PRIVATE_SUPPORTED_CAPS 2002
+
+typedef struct _TWAIN_CAPABILITY
+{
+ LONG lSize;
+ LONG lMSG;
+ LONG lCapID;
+ LONG lConType;
+ LONG lRC;
+ LONG lCC;
+ LONG lDataSize;
+ BYTE Data[1];
+} TWAIN_CAPABILITY,*PTWAIN_CAPABILITY;
+
+#endif
+
+
Propchange: branches/ddk2003/include/ddk2003/wiatwcmp.h
------------------------------------------------------------------------------
svn:eol-style = native
Added: branches/ddk2003/include/ddk2003/winnls32.h
URL:
http://svn.reactos.org/svn/reactos/branches/ddk2003/include/ddk2003/winnls3…
==============================================================================
--- branches/ddk2003/include/ddk2003/winnls32.h (added)
+++ branches/ddk2003/include/ddk2003/winnls32.h Thu Jun 28 12:48:07 2007
@@ -1,0 +1,76 @@
+
+
+#ifndef _WINNLS32_
+#define _WINNLS32_
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+typedef struct _tagDATETIME
+{
+ WORD year;
+ WORD month;
+ WORD day;
+ WORD hour;
+ WORD min;
+ WORD sec;
+} DATETIME;
+
+typedef struct _tagIMEPROA
+{
+ HWND hWnd;
+ DATETIME InstDate;
+ UINT wVersion;
+ BYTE szDescription[50];
+ BYTE szName[80];
+ BYTE szOptions[30];
+} IMEPROA,*PIMEPROA,NEAR *NPIMEPROA,FAR *LPIMEPROA;
+
+typedef struct _tagIMEPROW
+{
+ HWND hWnd;
+ DATETIME InstDate;
+ UINT wVersion;
+ WCHAR szDescription[50];
+ WCHAR szName[80];
+ WCHAR szOptions[30];
+} IMEPROW,*PIMEPROW,NEAR *NPIMEPROW,FAR *LPIMEPROW;
+
+BOOL WINAPI IMPGetIMEA( IN HWND, OUT LPIMEPROA);
+BOOL WINAPI IMPQueryIMEA( IN OUT LPIMEPROA);
+BOOL WINAPI IMPSetIMEA( IN HWND, IN LPIMEPROA);
+
+BOOL WINAPI IMPGetIMEW( IN HWND, OUT LPIMEPROW);
+BOOL WINAPI IMPQueryIMEW( IN OUT LPIMEPROW);
+BOOL WINAPI IMPSetIMEW( IN HWND, IN LPIMEPROW);
+
+UINT WINAPI WINNLSGetIMEHotkey( IN HWND);
+BOOL WINAPI WINNLSEnableIME( IN HWND, IN BOOL);
+BOOL WINAPI WINNLSGetEnableStatus( IN HWND);
+
+#ifdef UNICODE
+typedef IMEPROW IMEPRO;
+typedef PIMEPROW PIMEPRO;
+typedef NPIMEPROW NPIMEPRO;
+typedef LPIMEPROW LPIMEPRO;
+#define IMPGetIME IMPGetIMEW
+#define IMPQueryIME IMPQueryIMEW
+#define IMPSetIME IMPSetIMEW
+#else
+typedef IMEPROA IMEPRO;
+typedef PIMEPROA PIMEPRO;
+typedef NPIMEPROA NPIMEPRO;
+typedef LPIMEPROA LPIMEPRO;
+#define IMPGetIME IMPGetIMEA
+#define IMPQueryIME IMPQueryIMEA
+#define IMPSetIME IMPSetIMEA
+#endif
+
+#ifdef __cplusplus
+}
+#endif
+
+#endif
+
+
Propchange: branches/ddk2003/include/ddk2003/winnls32.h
------------------------------------------------------------------------------
svn:eol-style = native