mirror of
https://github.com/reactos/reactos.git
synced 2025-06-06 01:40:36 +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
|
DWORD
|
||||||
WINAPI
|
WINAPI
|
||||||
|
DECLSPEC_HOTPATCH
|
||||||
GetEnvironmentVariableA(IN LPCSTR lpName,
|
GetEnvironmentVariableA(IN LPCSTR lpName,
|
||||||
IN LPSTR lpBuffer,
|
IN LPSTR lpBuffer,
|
||||||
IN DWORD nSize)
|
IN DWORD nSize)
|
||||||
|
@ -158,6 +159,7 @@ Quickie:
|
||||||
*/
|
*/
|
||||||
DWORD
|
DWORD
|
||||||
WINAPI
|
WINAPI
|
||||||
|
DECLSPEC_HOTPATCH
|
||||||
GetEnvironmentVariableW(IN LPCWSTR lpName,
|
GetEnvironmentVariableW(IN LPCWSTR lpName,
|
||||||
IN LPWSTR lpBuffer,
|
IN LPWSTR lpBuffer,
|
||||||
IN DWORD nSize)
|
IN DWORD nSize)
|
||||||
|
@ -212,6 +214,7 @@ GetEnvironmentVariableW(IN LPCWSTR lpName,
|
||||||
*/
|
*/
|
||||||
BOOL
|
BOOL
|
||||||
WINAPI
|
WINAPI
|
||||||
|
DECLSPEC_HOTPATCH
|
||||||
SetEnvironmentVariableA(IN LPCSTR lpName,
|
SetEnvironmentVariableA(IN LPCSTR lpName,
|
||||||
IN LPCSTR lpValue)
|
IN LPCSTR lpValue)
|
||||||
{
|
{
|
||||||
|
@ -252,6 +255,7 @@ SetEnvironmentVariableA(IN LPCSTR lpName,
|
||||||
*/
|
*/
|
||||||
BOOL
|
BOOL
|
||||||
WINAPI
|
WINAPI
|
||||||
|
DECLSPEC_HOTPATCH
|
||||||
SetEnvironmentVariableW(IN LPCWSTR lpName,
|
SetEnvironmentVariableW(IN LPCWSTR lpName,
|
||||||
IN LPCWSTR lpValue)
|
IN LPCWSTR lpValue)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue