Author: tkreuzer Date: Mon May 12 23:40:14 2014 New Revision: 63269
URL: http://svn.reactos.org/svn/reactos?rev=63269&view=rev Log: [DDK] - Remove NTKERNELAPI from Rtl String routines - Remove obsolete hack definition - Fix a typo, spotted by Thomas
Modified: trunk/reactos/include/ddk/ntifs.h trunk/reactos/include/ddk/wdm.h trunk/reactos/include/xdk/rtltypes.h trunk/reactos/include/xdk/wdm.template.h
Modified: trunk/reactos/include/ddk/ntifs.h URL: http://svn.reactos.org/svn/reactos/trunk/reactos/include/ddk/ntifs.h?rev=632... ============================================================================== --- trunk/reactos/include/ddk/ntifs.h [iso-8859-1] (original) +++ trunk/reactos/include/ddk/ntifs.h [iso-8859-1] Mon May 12 23:40:14 2014 @@ -870,11 +870,11 @@ (NTAPI *PRTL_FREE_STRING_ROUTINE)( _In_ __drv_freesMem(Mem) _Post_invalid_ PVOID Buffer);
-extern NTKERNELAPI const PRTL_ALLOCATE_STRING_ROUTINE RtlAllocateStringRoutine; -extern NTKERNELAPI const PRTL_FREE_STRING_ROUTINE RtlFreeStringRoutine; +extern const PRTL_ALLOCATE_STRING_ROUTINE RtlAllocateStringRoutine; +extern const PRTL_FREE_STRING_ROUTINE RtlFreeStringRoutine;
#if _WIN32_WINNT >= 0x0600 -extern NTKERNELAPI const PRTL_REALLOCATE_STRING_ROUTINE RtlReallocateStringRoutine; +extern const PRTL_REALLOCATE_STRING_ROUTINE RtlReallocateStringRoutine; #endif
_Function_class_(RTL_HEAP_COMMIT_ROUTINE)
Modified: trunk/reactos/include/ddk/wdm.h URL: http://svn.reactos.org/svn/reactos/trunk/reactos/include/ddk/wdm.h?rev=63269... ============================================================================== --- trunk/reactos/include/ddk/wdm.h [iso-8859-1] (original) +++ trunk/reactos/include/ddk/wdm.h [iso-8859-1] Mon May 12 23:40:14 2014 @@ -25,9 +25,6 @@ #ifndef _WDMDDK_ #define _WDMDDK_
-// TEMP HACK! -#define _PROPER_NT_EXPORTS 1 - #define WDM_MAJORVERSION 0x06 #define WDM_MINORVERSION 0x00
@@ -155,9 +152,9 @@ #ifndef __STRINGIFY #define __STRINGIFY(_exp) #_exp #endif -#define _Pragma_redifine_extname(_Name, _Target) _Pragma(__STRINGIFY(redefine_extname _Name _Target)) +#define _Pragma_redefine_extname(_Name, _Target) _Pragma(__STRINGIFY(redefine_extname _Name _Target)) #define __CREATE_NTOS_DATA_IMPORT_ALIAS(_Name) \ - _Pragma_redifine_extname(_Name,__IMPORTNAME(_Name)) + _Pragma_redefine_extname(_Name,__IMPORTNAME(_Name)) #endif
#if defined(_WIN64)
Modified: trunk/reactos/include/xdk/rtltypes.h URL: http://svn.reactos.org/svn/reactos/trunk/reactos/include/xdk/rtltypes.h?rev=... ============================================================================== --- trunk/reactos/include/xdk/rtltypes.h [iso-8859-1] (original) +++ trunk/reactos/include/xdk/rtltypes.h [iso-8859-1] Mon May 12 23:40:14 2014 @@ -559,11 +559,11 @@ (NTAPI *PRTL_FREE_STRING_ROUTINE)( _In_ __drv_freesMem(Mem) _Post_invalid_ PVOID Buffer);
-extern NTKERNELAPI const PRTL_ALLOCATE_STRING_ROUTINE RtlAllocateStringRoutine; -extern NTKERNELAPI const PRTL_FREE_STRING_ROUTINE RtlFreeStringRoutine; +extern const PRTL_ALLOCATE_STRING_ROUTINE RtlAllocateStringRoutine; +extern const PRTL_FREE_STRING_ROUTINE RtlFreeStringRoutine;
#if _WIN32_WINNT >= 0x0600 -extern NTKERNELAPI const PRTL_REALLOCATE_STRING_ROUTINE RtlReallocateStringRoutine; +extern const PRTL_REALLOCATE_STRING_ROUTINE RtlReallocateStringRoutine; #endif
_Function_class_(RTL_HEAP_COMMIT_ROUTINE)
Modified: trunk/reactos/include/xdk/wdm.template.h URL: http://svn.reactos.org/svn/reactos/trunk/reactos/include/xdk/wdm.template.h?... ============================================================================== --- trunk/reactos/include/xdk/wdm.template.h [iso-8859-1] (original) +++ trunk/reactos/include/xdk/wdm.template.h [iso-8859-1] Mon May 12 23:40:14 2014 @@ -152,9 +152,9 @@ #ifndef __STRINGIFY #define __STRINGIFY(_exp) #_exp #endif -#define _Pragma_redifine_extname(_Name, _Target) _Pragma(__STRINGIFY(redefine_extname _Name _Target)) +#define _Pragma_redefine_extname(_Name, _Target) _Pragma(__STRINGIFY(redefine_extname _Name _Target)) #define __CREATE_NTOS_DATA_IMPORT_ALIAS(_Name) \ - _Pragma_redifine_extname(_Name,__IMPORTNAME(_Name)) + _Pragma_redefine_extname(_Name,__IMPORTNAME(_Name)) #endif
#if defined(_WIN64)