mirror of
https://github.com/reactos/reactos.git
synced 2025-02-24 09:25:10 +00:00
[KERNEL32]: Mark Get/SetEnvironmentVariableA/W as hotpatchable since it's needed for Clink 0.4.8 (<rant>btw, if GCC was able to set exported stdcall functions as hotpatchable at a global level, as MSVC does, those "DECLSPEC_HOTPATCH" hacks would not be necessary! </rant>)
svn path=/trunk/; revision=72997
This commit is contained in:
parent
7f59e9a13c
commit
99ef1a3353
1 changed files with 4 additions and 0 deletions
|
@ -24,6 +24,7 @@
|
|||
*/
|
||||
DWORD
|
||||
WINAPI
|
||||
DECLSPEC_HOTPATCH
|
||||
GetEnvironmentVariableA(IN LPCSTR lpName,
|
||||
IN LPSTR lpBuffer,
|
||||
IN DWORD nSize)
|
||||
|
@ -158,6 +159,7 @@ Quickie:
|
|||
*/
|
||||
DWORD
|
||||
WINAPI
|
||||
DECLSPEC_HOTPATCH
|
||||
GetEnvironmentVariableW(IN LPCWSTR lpName,
|
||||
IN LPWSTR lpBuffer,
|
||||
IN DWORD nSize)
|
||||
|
@ -212,6 +214,7 @@ GetEnvironmentVariableW(IN LPCWSTR lpName,
|
|||
*/
|
||||
BOOL
|
||||
WINAPI
|
||||
DECLSPEC_HOTPATCH
|
||||
SetEnvironmentVariableA(IN LPCSTR lpName,
|
||||
IN LPCSTR lpValue)
|
||||
{
|
||||
|
@ -252,6 +255,7 @@ SetEnvironmentVariableA(IN LPCSTR lpName,
|
|||
*/
|
||||
BOOL
|
||||
WINAPI
|
||||
DECLSPEC_HOTPATCH
|
||||
SetEnvironmentVariableW(IN LPCWSTR lpName,
|
||||
IN LPCWSTR lpValue)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue