Modified: trunk/reactos/drivers/net/tdi/cte/string.c
Modified: trunk/reactos/drivers/net/tdi/cte/stubs.c
Modified: trunk/reactos/drivers/net/tdi/tdi/dereg.c
Modified: trunk/reactos/drivers/net/tdi/tdi/obsolete.c
Modified: trunk/reactos/include/chew/chew.h
Modified: trunk/reactos/include/ndk/umtypes.h
--- trunk/reactos/drivers/net/tdi/cte/string.c 2006-01-07 08:28:20 UTC (rev 20660)
+++ trunk/reactos/drivers/net/tdi/cte/string.c 2006-01-07 08:50:54 UTC (rev 20661)
@@ -9,8 +9,8 @@
BOOLEAN
STDCALL
CTEAllocateString (
- DWORD Unknown0,
- DWORD Unknown1
+ ULONG Unknown0,
+ ULONG Unknown1
)
{
return FALSE;
@@ -23,8 +23,8 @@
BOOLEAN
STDCALL
CTEInitString (
- DWORD Unknown0,
- DWORD Unknown1
+ ULONG Unknown0,
+ ULONG Unknown1
)
{
return FALSE;
--- trunk/reactos/drivers/net/tdi/cte/stubs.c 2006-01-07 08:28:20 UTC (rev 20660)
+++ trunk/reactos/drivers/net/tdi/cte/stubs.c 2006-01-07 08:50:54 UTC (rev 20661)
@@ -10,7 +10,7 @@
NTSTATUS
STDCALL
CTEBlock (
- DWORD Unknown0
+ ULONG Unknown0
)
{
return STATUS_NOT_IMPLEMENTED;
@@ -23,8 +23,8 @@
VOID
STDCALL
CTEInitEvent (
- DWORD Unknown0,
- DWORD Unknown1
+ ULONG Unknown0,
+ ULONG Unknown1
)
{
}
@@ -36,7 +36,7 @@
VOID
STDCALL
CTEInitTimer (
- DWORD Unknown0
+ ULONG Unknown0
)
{
}
@@ -62,13 +62,13 @@
NTSTATUS
STDCALL
CTELogEvent (
- DWORD Unknown0,
- DWORD Unknown1,
- DWORD Unknown2,
- DWORD Unknown3,
- DWORD Unknown4,
- DWORD Unknown5,
- DWORD Unknown6
+ ULONG Unknown0,
+ ULONG Unknown1,
+ ULONG Unknown2,
+ ULONG Unknown3,
+ ULONG Unknown4,
+ ULONG Unknown5,
+ ULONG Unknown6
)
{
/* Probably call
@@ -85,8 +85,8 @@
BOOLEAN
STDCALL
CTEScheduleEvent (
- DWORD Unknown0,
- DWORD Unknown1
+ ULONG Unknown0,
+ ULONG Unknown1
)
{
return FALSE;
@@ -99,8 +99,8 @@
LONG
STDCALL
CTESignal (
- DWORD Unknown0,
- DWORD Unknown1
+ ULONG Unknown0,
+ ULONG Unknown1
)
{
#if 0
@@ -122,10 +122,10 @@
BOOLEAN
STDCALL
CTEStartTimer (
- DWORD Unknown0,
- DWORD Unknown1,
- DWORD Unknown2,
- DWORD Unknown3
+ ULONG Unknown0,
+ ULONG Unknown1,
+ ULONG Unknown2,
+ ULONG Unknown3
)
{
return FALSE;
--- trunk/reactos/drivers/net/tdi/tdi/dereg.c 2006-01-07 08:28:20 UTC (rev 20660)
+++ trunk/reactos/drivers/net/tdi/tdi/dereg.c 2006-01-07 08:50:54 UTC (rev 20661)
@@ -41,9 +41,9 @@
NTSTATUS
STDCALL
TdiRegisterAddressChangeHandler (
- DWORD Unknown0,
- DWORD Unknown1,
- DWORD Unknown2
+ ULONG Unknown0,
+ ULONG Unknown1,
+ ULONG Unknown2
)
{
#if 0
@@ -81,8 +81,8 @@
NTSTATUS
STDCALL
TdiRegisterDeviceObject (
- DWORD Unknown0,
- DWORD Unknown1
+ ULONG Unknown0,
+ ULONG Unknown1
)
{
#if 0
@@ -120,8 +120,8 @@
NTSTATUS
STDCALL
TdiRegisterNetAddress (
- DWORD Unknown0,
- DWORD Unknown1
+ ULONG Unknown0,
+ ULONG Unknown1
)
{
#if 0
@@ -159,9 +159,9 @@
NTSTATUS
STDCALL
TdiRegisterNotificationHandler (
- DWORD Unknown0,
- DWORD Unknown1,
- DWORD Unknown2
+ ULONG Unknown0,
+ ULONG Unknown1,
+ ULONG Unknown2
)
{
#if 0
--- trunk/reactos/drivers/net/tdi/tdi/obsolete.c 2006-01-07 08:28:20 UTC (rev 20660)
+++ trunk/reactos/drivers/net/tdi/tdi/obsolete.c 2006-01-07 08:50:54 UTC (rev 20661)
@@ -10,7 +10,7 @@
VOID
STDCALL
TdiMapBuffer (
- DWORD Unknown0
+ ULONG Unknown0
)
{
/* This function is absolete */
@@ -23,7 +23,7 @@
VOID
STDCALL
TdiUnmapBuffer (
- DWORD Unknown0
+ ULONG Unknown0
)
{
/* This function is obsolete */
--- trunk/reactos/include/chew/chew.h 2006-01-07 08:28:20 UTC (rev 20660)
+++ trunk/reactos/include/chew/chew.h 2006-01-07 08:50:54 UTC (rev 20661)
@@ -31,7 +31,7 @@
* Else, the function returns false and Item is undefined.
*/
BOOLEAN ChewCreate
-( PVOID *Item, UINT Bytes, VOID (*Worker)(PVOID), PVOID UserSpace );
+( PVOID *Item, SIZE_T Bytes, VOID (*Worker)(PVOID), PVOID UserSpace );
/**
* Remove a work item, given the pointer returned to Item in ChewCreate.
*/
--- trunk/reactos/include/ndk/umtypes.h 2006-01-07 08:28:20 UTC (rev 20660)
+++ trunk/reactos/include/ndk/umtypes.h 2006-01-07 08:50:54 UTC (rev 20661)
@@ -99,7 +99,7 @@
//
// Basic NT Types
//
-#if !defined(_NTSECAPI_H) && !defined(_SUBAUTH_H)
+#if !defined(_NTSECAPI_H) && !defined(_SUBAUTH_H) && !defined(_NTSECAPI_)
typedef struct _UNICODE_STRING
{
@@ -107,7 +107,6 @@
USHORT MaximumLength;
PWSTR Buffer;
} UNICODE_STRING, *PUNICODE_STRING;
-typedef const UNICODE_STRING* PCUNICODE_STRING;
typedef struct _STRING
{
@@ -116,6 +115,8 @@
PCHAR Buffer;
} STRING, *PSTRING;
+#endif
+
typedef struct _OBJECT_ATTRIBUTES
{
ULONG Length;
@@ -125,8 +126,8 @@
PVOID SecurityDescriptor;
PVOID SecurityQualityOfService;
} OBJECT_ATTRIBUTES, *POBJECT_ATTRIBUTES;
-#endif
+typedef const UNICODE_STRING* PCUNICODE_STRING;
typedef STRING ANSI_STRING;
typedef PSTRING PANSI_STRING;
typedef STRING OEM_STRING;