Author: tfaber
Date: Fri Sep 23 11:24:15 2011
New Revision: 53809
URL:
http://svn.reactos.org/svn/reactos?rev=53809&view=rev
Log:
[DDK/PSDK]
- Fix several typos. Patch by Elton Chung (elton328 at gmail dot com). Slight
compatibility fix by me
- Add missing NTSYSAPI to some externs
- remove Se*DefaultDacl externs from ntifs, as they don't belong there, and are
already correctly found in ndk/setypes.h
Modified:
trunk/reactos/include/ddk/classpnp.h
trunk/reactos/include/ddk/ntifs.h
trunk/reactos/include/ndk/extypes.h
trunk/reactos/include/ndk/mmtypes.h
trunk/reactos/include/ndk/setypes.h
trunk/reactos/include/psdk/mimeole.idl
trunk/reactos/include/psdk/ras.h
trunk/reactos/include/psdk/usb.h
Modified: trunk/reactos/include/ddk/classpnp.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/include/ddk/classpnp.h?rev…
==============================================================================
--- trunk/reactos/include/ddk/classpnp.h [iso-8859-1] (original)
+++ trunk/reactos/include/ddk/classpnp.h [iso-8859-1] Fri Sep 23 11:24:15 2011
@@ -369,7 +369,7 @@
PDEVICE_OBJECT DeviceObject,
ULONG *RegFlags,
PUNICODE_STRING Name,
- PUNICODE_STRING MofResouceName);
+ PUNICODE_STRING MofResourceName);
typedef NTSTATUS
(NTAPI *PCLASS_QUERY_WMI_REGINFO)(
Modified: trunk/reactos/include/ddk/ntifs.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/include/ddk/ntifs.h?rev=53…
==============================================================================
--- trunk/reactos/include/ddk/ntifs.h [iso-8859-1] (original)
+++ trunk/reactos/include/ddk/ntifs.h [iso-8859-1] Fri Sep 23 11:24:15 2011
@@ -1651,7 +1651,7 @@
if ((Length -= 1) == 0) {
return;
}
- Address += 1;
+ Address += 1;
}
__stosq((PULONG64)(Address), Pattern | ((ULONG64)Pattern << 32), Length / 2);
if ((Length & 1) != 0) Address[Length - 1] = Pattern;
@@ -8978,9 +8978,6 @@
#include "csq.h"
-extern PACL SePublicDefaultDacl;
-extern PACL SeSystemDefaultDacl;
-
#define FS_LFN_APIS 0x00004000
#define FILE_STORAGE_TYPE_SPECIFIED 0x00000041 /* FILE_DIRECTORY_FILE |
FILE_NON_DIRECTORY_FILE */
Modified: trunk/reactos/include/ndk/extypes.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/include/ndk/extypes.h?rev=…
==============================================================================
--- trunk/reactos/include/ndk/extypes.h [iso-8859-1] (original)
+++ trunk/reactos/include/ndk/extypes.h [iso-8859-1] Fri Sep 23 11:24:15 2011
@@ -65,7 +65,7 @@
//
// Exported NT Build Number
//
-extern ULONG NtBuildNumber;
+extern ULONG NTSYSAPI NtBuildNumber;
//
// Invalid Handle Value Constant
Modified: trunk/reactos/include/ndk/mmtypes.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/include/ndk/mmtypes.h?rev=…
==============================================================================
--- trunk/reactos/include/ndk/mmtypes.h [iso-8859-1] (original)
+++ trunk/reactos/include/ndk/mmtypes.h [iso-8859-1] Fri Sep 23 11:24:15 2011
@@ -980,7 +980,7 @@
//
// Section Object Type
//
-extern POBJECT_TYPE MmSectionObjectType;
+extern POBJECT_TYPE NTSYSAPI MmSectionObjectType;
#endif // !NTOS_MODE_USER
Modified: trunk/reactos/include/ndk/setypes.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/include/ndk/setypes.h?rev=…
==============================================================================
--- trunk/reactos/include/ndk/setypes.h [iso-8859-1] (original)
+++ trunk/reactos/include/ndk/setypes.h [iso-8859-1] Fri Sep 23 11:24:15 2011
@@ -176,8 +176,8 @@
//
// External SRM Data
//
-extern PACL SePublicDefaultDacl;
-extern PACL SeSystemDefaultDacl;
+extern PACL NTSYSAPI SePublicDefaultDacl;
+extern PACL NTSYSAPI SeSystemDefaultDacl;
#endif
#endif
Modified: trunk/reactos/include/psdk/mimeole.idl
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/include/psdk/mimeole.idl?r…
==============================================================================
--- trunk/reactos/include/psdk/mimeole.idl [iso-8859-1] (original)
+++ trunk/reactos/include/psdk/mimeole.idl [iso-8859-1] Fri Sep 23 11:24:15 2011
@@ -611,7 +611,7 @@
DWORD dwCookie;
DWORD dwReserved1;
DWORD dwReserved2;
- } ADRESSPROPS, *LPADDRESSPROPS;
+ } ADDRESSPROPS, *LPADDRESSPROPS;
typedef struct tagADDRESSLIST
{
Modified: trunk/reactos/include/psdk/ras.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/include/psdk/ras.h?rev=538…
==============================================================================
--- trunk/reactos/include/psdk/ras.h [iso-8859-1] (original)
+++ trunk/reactos/include/psdk/ras.h [iso-8859-1] Fri Sep 23 11:24:15 2011
@@ -768,7 +768,7 @@
#if (WINVER >= 0x500)
typedef RASEAPUSERIDENTITYW RASEAPUSERIDENTITY, *LPRASEAPUSERIDENTITY;
typedef DWORD (WINAPI *PFNRASGETBUFFER) (PBYTE *ppBuffer, PDWORD pdwSize);
-typedef DWORD (WINAPI *PFNRASFREEBUFFER) (PBYTE pBufer);
+typedef DWORD (WINAPI *PFNRASFREEBUFFER) (PBYTE pBuffer);
typedef DWORD (WINAPI *PFNRASSENDBUFFER) (HANDLE hPort, PBYTE pBuffer, DWORD dwSize);
typedef DWORD (WINAPI *PFNRASRECEIVEBUFFER) (HANDLE hPort, PBYTE pBuffer, PDWORD pdwSize,
DWORD dwTimeOut, HANDLE hEvent);
typedef DWORD (WINAPI *PFNRASRETRIEVEBUFFER) (HANDLE hPort, PBYTE pBuffer, PDWORD
pdwSize);
Modified: trunk/reactos/include/psdk/usb.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/include/psdk/usb.h?rev=538…
==============================================================================
--- trunk/reactos/include/psdk/usb.h [iso-8859-1] (original)
+++ trunk/reactos/include/psdk/usb.h [iso-8859-1] Fri Sep 23 11:24:15 2011
@@ -201,11 +201,13 @@
#define USBD_STATUS_FRAME_CONTROL_NOT_OWNED ((USBD_STATUS)0xC0000D00L)
#define USBD_STATUS_NOT_SUPPORTED ((USBD_STATUS)0xC0000E00L)
#define USBD_STATUS_INAVLID_CONFIGURATION_DESCRIPTOR ((USBD_STATUS)0xC0000F00L)
+#define USBD_STATUS_INVALID_CONFIGURATION_DESCRIPTOR ((USBD_STATUS)0xC0000F00L)
#define USBD_STATUS_INSUFFICIENT_RESOURCES ((USBD_STATUS)0xC0001000L)
#define USBD_STATUS_SET_CONFIG_FAILED ((USBD_STATUS)0xC0002000L)
#define USBD_STATUS_BUFFER_TOO_SMALL ((USBD_STATUS)0xC0003000L)
#define USBD_STATUS_INTERFACE_NOT_FOUND ((USBD_STATUS)0xC0004000L)
#define USBD_STATUS_INAVLID_PIPE_FLAGS ((USBD_STATUS)0xC0005000L)
+#define USBD_STATUS_INVALID_PIPE_FLAGS ((USBD_STATUS)0xC0005000L)
#define USBD_STATUS_TIMEOUT ((USBD_STATUS)0xC0006000L)
#define USBD_STATUS_DEVICE_GONE ((USBD_STATUS)0xC0007000L)
#define USBD_STATUS_STATUS_NOT_MAPPED ((USBD_STATUS)0xC0008000L)