зеркало из https://github.com/mozilla/gecko-dev.git
Adding a PRECHECK block to all mozce function to allow debugging per function
call. By default, this is not used Implemented open, close, read, write, unlink, and lseek.
This commit is contained in:
Родитель
a1b231182b
Коммит
41bc35fd99
|
@ -47,6 +47,8 @@ extern "C" {
|
|||
|
||||
MOZCE_SHUNT_API void mozce_assert(int inExpression)
|
||||
{
|
||||
MOZCE_PRECHECK
|
||||
|
||||
#ifdef DEBUG
|
||||
mozce_printf("mozce_assert called\n");
|
||||
#endif
|
||||
|
|
Двоичные данные
build/wince/shunt/build/shunt.vcb
Двоичные данные
build/wince/shunt/build/shunt.vcb
Двоичный файл не отображается.
|
@ -6,15 +6,22 @@
|
|||
--------------------Configuration: shunt - Win32 (WCE emulator) Release--------------------
|
||||
</h3>
|
||||
<h3>Command Lines</h3>
|
||||
Creating temporary file "C:\DOCUME~1\dougt\LOCALS~1\Temp\RSP2BE.tmp" with contents
|
||||
Creating temporary file "C:\DOCUME~1\dougt\LOCALS~1\Temp\RSP3362.tmp" with contents
|
||||
[
|
||||
commctrl.lib coredll.lib corelibc.lib /nologo /base:"0x00100000" /stack:0x1000000 /entry:"_DllMainCRTStartup" /dll /pdb:none /incremental:no /nodefaultlib:"OLDNAMES.lib" /nodefaultlib:libc.lib /nodefaultlib:libcd.lib /nodefaultlib:libcmt.lib /nodefaultlib:libcmtd.lib /nodefaultlib:msvcrt.lib /nodefaultlib:msvcrtd.lib /out:"emulatorRel/shunt.dll" /implib:"emulatorRel/shunt.lib" /subsystem:windowsce,4.20 /MACHINE:IX86
|
||||
/nologo /W3 /I "../include" /D "_i386_" /D "_X86_" /D "x86" /D "NDEBUG" /D _WIN32_WCE=420 /D "WIN32_PLATFORM_PSPC=400" /D UNDER_CE=420 /D "UNICODE" /D "_UNICODE" /D "SHUNT_EXPORTS" /D "MOZCE_SHUNT_EXPORTS" /Fo"emulatorRel/" /Gs8192 /GF /O2 /c
|
||||
"C:\builds\wince\mozilla\build\wince\shunt\stdio.cpp"
|
||||
]
|
||||
Creating command line "cl.exe @C:\DOCUME~1\dougt\LOCALS~1\Temp\RSP3362.tmp"
|
||||
Creating temporary file "C:\DOCUME~1\dougt\LOCALS~1\Temp\RSP3363.tmp" with contents
|
||||
[
|
||||
commctrl.lib coredll.lib corelibc.lib /nologo /base:"0x00100000" /stack:0x5000000 /entry:"_DllMainCRTStartup" /dll /pdb:none /incremental:no /nodefaultlib:"OLDNAMES.lib" /nodefaultlib:libc.lib /nodefaultlib:libcd.lib /nodefaultlib:libcmt.lib /nodefaultlib:libcmtd.lib /nodefaultlib:msvcrt.lib /nodefaultlib:msvcrtd.lib /out:"emulatorRel/shunt.dll" /implib:"emulatorRel/shunt.lib" /subsystem:windowsce,4.20 /MACHINE:IX86
|
||||
.\emulatorRel\a2w.obj
|
||||
.\emulatorRel\assert.obj
|
||||
.\emulatorRel\direct.obj
|
||||
.\emulatorRel\errno.obj
|
||||
.\emulatorRel\io.obj
|
||||
.\emulatorRel\mbstring.obj
|
||||
.\emulatorRel\nclog.obj
|
||||
.\emulatorRel\process.obj
|
||||
.\emulatorRel\signal.obj
|
||||
.\emulatorRel\stat.obj
|
||||
|
@ -26,10 +33,11 @@ commctrl.lib coredll.lib corelibc.lib /nologo /base:"0x00100000" /stack:0x100000
|
|||
.\emulatorRel\win32.obj
|
||||
.\emulatorRel\win32A.obj
|
||||
.\emulatorRel\win32W.obj
|
||||
.\emulatorRel\nclog.obj
|
||||
]
|
||||
Creating command line "link.exe @C:\DOCUME~1\dougt\LOCALS~1\Temp\RSP2BE.tmp"
|
||||
Creating command line "link.exe @C:\DOCUME~1\dougt\LOCALS~1\Temp\RSP3363.tmp"
|
||||
<h3>Output Window</h3>
|
||||
Compiling...
|
||||
stdio.cpp
|
||||
Linking...
|
||||
Creating library emulatorRel/shunt.lib and object emulatorRel/shunt.exp
|
||||
|
||||
|
@ -43,15 +51,22 @@ shunt.dll - 0 error(s), 0 warning(s)
|
|||
--------------------Configuration: shunt - Win32 (WCE emulator) Debug--------------------
|
||||
</h3>
|
||||
<h3>Command Lines</h3>
|
||||
Creating temporary file "C:\DOCUME~1\dougt\LOCALS~1\Temp\RSP2C2.tmp" with contents
|
||||
Creating temporary file "C:\DOCUME~1\dougt\LOCALS~1\Temp\RSP3367.tmp" with contents
|
||||
[
|
||||
commctrl.lib coredll.lib corelibc.lib /nologo /base:"0x00100000" /stack:0x1000000 /entry:"_DllMainCRTStartup" /dll /pdb:none /incremental:yes /debug /nodefaultlib:"OLDNAMES.lib" /nodefaultlib:libc.lib /nodefaultlib:libcd.lib /nodefaultlib:libcmt.lib /nodefaultlib:libcmtd.lib /nodefaultlib:msvcrt.lib /nodefaultlib:msvcrtd.lib /out:"emulatorDbg/shunt.dll" /implib:"emulatorDbg/shunt.lib" /subsystem:windowsce,4.20 /MACHINE:IX86
|
||||
/nologo /W3 /Zi /Od /I "../include" /D "DEBUG" /D "_i386_" /D "_X86_" /D "x86" /D _WIN32_WCE=420 /D "WIN32_PLATFORM_PSPC=400" /D UNDER_CE=420 /D "UNICODE" /D "_UNICODE" /D "SHUNT_EXPORTS" /D "MOZCE_SHUNT_EXPORTS" /Fo"emulatorDbg/" /Fd"emulatorDbg/" /Gs8192 /GF /c
|
||||
"C:\builds\wince\mozilla\build\wince\shunt\stdio.cpp"
|
||||
]
|
||||
Creating command line "cl.exe @C:\DOCUME~1\dougt\LOCALS~1\Temp\RSP3367.tmp"
|
||||
Creating temporary file "C:\DOCUME~1\dougt\LOCALS~1\Temp\RSP3368.tmp" with contents
|
||||
[
|
||||
commctrl.lib coredll.lib corelibc.lib /nologo /base:"0x00100000" /stack:0x5000000 /entry:"_DllMainCRTStartup" /dll /pdb:none /incremental:yes /debug /nodefaultlib:"OLDNAMES.lib" /nodefaultlib:libc.lib /nodefaultlib:libcd.lib /nodefaultlib:libcmt.lib /nodefaultlib:libcmtd.lib /nodefaultlib:msvcrt.lib /nodefaultlib:msvcrtd.lib /out:"emulatorDbg/shunt.dll" /implib:"emulatorDbg/shunt.lib" /subsystem:windowsce,4.20 /MACHINE:IX86
|
||||
.\emulatorDbg\a2w.obj
|
||||
.\emulatorDbg\assert.obj
|
||||
.\emulatorDbg\direct.obj
|
||||
.\emulatorDbg\errno.obj
|
||||
.\emulatorDbg\io.obj
|
||||
.\emulatorDbg\mbstring.obj
|
||||
.\emulatorDbg\nclog.obj
|
||||
.\emulatorDbg\process.obj
|
||||
.\emulatorDbg\signal.obj
|
||||
.\emulatorDbg\stat.obj
|
||||
|
@ -63,10 +78,11 @@ commctrl.lib coredll.lib corelibc.lib /nologo /base:"0x00100000" /stack:0x100000
|
|||
.\emulatorDbg\win32.obj
|
||||
.\emulatorDbg\win32A.obj
|
||||
.\emulatorDbg\win32W.obj
|
||||
.\emulatorDbg\nclog.obj
|
||||
]
|
||||
Creating command line "link.exe @C:\DOCUME~1\dougt\LOCALS~1\Temp\RSP2C2.tmp"
|
||||
Creating command line "link.exe @C:\DOCUME~1\dougt\LOCALS~1\Temp\RSP3368.tmp"
|
||||
<h3>Output Window</h3>
|
||||
Compiling...
|
||||
stdio.cpp
|
||||
Linking...
|
||||
LINK : warning LNK4075: ignoring '/INCREMENTAL' due to '/PDB:NONE' specification
|
||||
Creating library emulatorDbg/shunt.lib and object emulatorDbg/shunt.exp
|
||||
|
@ -81,15 +97,22 @@ shunt.dll - 0 error(s), 1 warning(s)
|
|||
--------------------Configuration: shunt - Win32 (WCE ARMV4) Release--------------------
|
||||
</h3>
|
||||
<h3>Command Lines</h3>
|
||||
Creating temporary file "C:\DOCUME~1\dougt\LOCALS~1\Temp\RSP2C6.tmp" with contents
|
||||
Creating temporary file "C:\DOCUME~1\dougt\LOCALS~1\Temp\RSP336C.tmp" with contents
|
||||
[
|
||||
commctrl.lib coredll.lib /nologo /base:"0x00100000" /stack:0x1000000 /entry:"_DllMainCRTStartup" /dll /pdb:none /incremental:no /nodefaultlib:"libc.lib /nodefaultlib:libcd.lib /nodefaultlib:libcmt.lib /nodefaultlib:libcmtd.lib /nodefaultlib:msvcrt.lib /nodefaultlib:msvcrtd.lib" /out:"ARMV4Rel/shunt.dll" /implib:"ARMV4Rel/shunt.lib" /subsystem:windowsce,4.20 /align:"4096" /MACHINE:ARM
|
||||
/nologo /W3 /I "../include" /D "ARM" /D "_ARM_" /D "ARMV4" /D "NDEBUG" /D _WIN32_WCE=420 /D "WIN32_PLATFORM_PSPC=400" /D UNDER_CE=420 /D "UNICODE" /D "_UNICODE" /D "SHUNT_EXPORTS" /D "MOZCE_SHUNT_EXPORTS" /FR"ARMV4Rel/" /Fo"ARMV4Rel/" /O2 /MC /c
|
||||
"C:\builds\wince\mozilla\build\wince\shunt\stdio.cpp"
|
||||
]
|
||||
Creating command line "clarm.exe @C:\DOCUME~1\dougt\LOCALS~1\Temp\RSP336C.tmp"
|
||||
Creating temporary file "C:\DOCUME~1\dougt\LOCALS~1\Temp\RSP336D.tmp" with contents
|
||||
[
|
||||
commctrl.lib coredll.lib /nologo /base:"0x00100000" /stack:0x5000000 /entry:"_DllMainCRTStartup" /dll /pdb:none /incremental:no /nodefaultlib:"libc.lib /nodefaultlib:libcd.lib /nodefaultlib:libcmt.lib /nodefaultlib:libcmtd.lib /nodefaultlib:msvcrt.lib /nodefaultlib:msvcrtd.lib" /out:"ARMV4Rel/shunt.dll" /implib:"ARMV4Rel/shunt.lib" /subsystem:windowsce,4.20 /align:"4096" /MACHINE:ARM
|
||||
.\ARMV4Rel\a2w.obj
|
||||
.\ARMV4Rel\assert.obj
|
||||
.\ARMV4Rel\direct.obj
|
||||
.\ARMV4Rel\errno.obj
|
||||
.\ARMV4Rel\io.obj
|
||||
.\ARMV4Rel\mbstring.obj
|
||||
.\ARMV4Rel\nclog.obj
|
||||
.\ARMV4Rel\process.obj
|
||||
.\ARMV4Rel\signal.obj
|
||||
.\ARMV4Rel\stat.obj
|
||||
|
@ -101,10 +124,11 @@ commctrl.lib coredll.lib /nologo /base:"0x00100000" /stack:0x1000000 /entry:"_Dl
|
|||
.\ARMV4Rel\win32.obj
|
||||
.\ARMV4Rel\win32A.obj
|
||||
.\ARMV4Rel\win32W.obj
|
||||
.\ARMV4Rel\nclog.obj
|
||||
]
|
||||
Creating command line "link.exe @C:\DOCUME~1\dougt\LOCALS~1\Temp\RSP2C6.tmp"
|
||||
Creating command line "link.exe @C:\DOCUME~1\dougt\LOCALS~1\Temp\RSP336D.tmp"
|
||||
<h3>Output Window</h3>
|
||||
Compiling...
|
||||
stdio.cpp
|
||||
Linking...
|
||||
Creating library ARMV4Rel/shunt.lib and object ARMV4Rel/shunt.exp
|
||||
|
||||
|
@ -118,15 +142,22 @@ shunt.dll - 0 error(s), 0 warning(s)
|
|||
--------------------Configuration: shunt - Win32 (WCE ARMV4) Debug--------------------
|
||||
</h3>
|
||||
<h3>Command Lines</h3>
|
||||
Creating temporary file "C:\DOCUME~1\dougt\LOCALS~1\Temp\RSP2CA.tmp" with contents
|
||||
Creating temporary file "C:\DOCUME~1\dougt\LOCALS~1\Temp\RSP3371.tmp" with contents
|
||||
[
|
||||
commctrl.lib coredll.lib /nologo /base:"0x00100000" /stack:0x1000000 /entry:"_DllMainCRTStartup" /dll /pdb:none /incremental:yes /debug /nodefaultlib:"libc.lib /nodefaultlib:libcd.lib /nodefaultlib:libcmt.lib /nodefaultlib:libcmtd.lib /nodefaultlib:msvcrt.lib /nodefaultlib:msvcrtd.lib" /out:"ARMV4Dbg/shunt.dll" /implib:"ARMV4Dbg/shunt.lib" /subsystem:windowsce,4.20 /align:"4096" /MACHINE:ARM
|
||||
/nologo /W3 /Zi /Od /I "../include" /D "DEBUG" /D "ARM" /D "_ARM_" /D "ARMV4" /D _WIN32_WCE=420 /D "WIN32_PLATFORM_PSPC=400" /D UNDER_CE=420 /D "UNICODE" /D "_UNICODE" /D "SHUNT_EXPORTS" /D "MOZCE_SHUNT_EXPORTS" /Fo"ARMV4Dbg/" /Fd"ARMV4Dbg/" /MC /c
|
||||
"C:\builds\wince\mozilla\build\wince\shunt\stdio.cpp"
|
||||
]
|
||||
Creating command line "clarm.exe @C:\DOCUME~1\dougt\LOCALS~1\Temp\RSP3371.tmp"
|
||||
Creating temporary file "C:\DOCUME~1\dougt\LOCALS~1\Temp\RSP3372.tmp" with contents
|
||||
[
|
||||
commctrl.lib coredll.lib /nologo /base:"0x00100000" /stack:0x5000000 /entry:"_DllMainCRTStartup" /dll /pdb:none /incremental:yes /debug /nodefaultlib:"libc.lib /nodefaultlib:libcd.lib /nodefaultlib:libcmt.lib /nodefaultlib:libcmtd.lib /nodefaultlib:msvcrt.lib /nodefaultlib:msvcrtd.lib" /out:"ARMV4Dbg/shunt.dll" /implib:"ARMV4Dbg/shunt.lib" /subsystem:windowsce,4.20 /align:"4096" /MACHINE:ARM
|
||||
.\ARMV4Dbg\a2w.obj
|
||||
.\ARMV4Dbg\assert.obj
|
||||
.\ARMV4Dbg\direct.obj
|
||||
.\ARMV4Dbg\errno.obj
|
||||
.\ARMV4Dbg\io.obj
|
||||
.\ARMV4Dbg\mbstring.obj
|
||||
.\ARMV4Dbg\nclog.obj
|
||||
.\ARMV4Dbg\process.obj
|
||||
.\ARMV4Dbg\signal.obj
|
||||
.\ARMV4Dbg\stat.obj
|
||||
|
@ -138,10 +169,11 @@ commctrl.lib coredll.lib /nologo /base:"0x00100000" /stack:0x1000000 /entry:"_Dl
|
|||
.\ARMV4Dbg\win32.obj
|
||||
.\ARMV4Dbg\win32A.obj
|
||||
.\ARMV4Dbg\win32W.obj
|
||||
.\ARMV4Dbg\nclog.obj
|
||||
]
|
||||
Creating command line "link.exe @C:\DOCUME~1\dougt\LOCALS~1\Temp\RSP2CA.tmp"
|
||||
Creating command line "link.exe @C:\DOCUME~1\dougt\LOCALS~1\Temp\RSP3372.tmp"
|
||||
<h3>Output Window</h3>
|
||||
Compiling...
|
||||
stdio.cpp
|
||||
Linking...
|
||||
LINK : warning LNK4075: ignoring '/INCREMENTAL' due to '/PDB:NONE' specification
|
||||
Creating library ARMV4Dbg/shunt.lib and object ARMV4Dbg/shunt.exp
|
||||
|
@ -156,15 +188,22 @@ shunt.dll - 0 error(s), 1 warning(s)
|
|||
--------------------Configuration: shunt - Win32 (WCE ARMV4) SmartPhone--------------------
|
||||
</h3>
|
||||
<h3>Command Lines</h3>
|
||||
Creating temporary file "C:\DOCUME~1\dougt\LOCALS~1\Temp\RSP2CE.tmp" with contents
|
||||
Creating temporary file "C:\DOCUME~1\dougt\LOCALS~1\Temp\RSP3376.tmp" with contents
|
||||
[
|
||||
commctrl.lib coredll.lib /nologo /base:"0x00100000" /stack:0x1000000 /entry:"_DllMainCRTStartup" /dll /pdb:none /incremental:no /nodefaultlib:"libc.lib /nodefaultlib:libcd.lib /nodefaultlib:libcmt.lib /nodefaultlib:libcmtd.lib /nodefaultlib:msvcrt.lib /nodefaultlib:msvcrtd.lib" /out:"ARMV4SmartPhone/shunt.dll" /implib:"ARMV4SmartPhone/shunt.lib" /subsystem:windowsce,4.20 /align:"4096" /MACHINE:ARM
|
||||
/nologo /W3 /I "../include" /D "ARM" /D "_ARM_" /D "ARMV4" /D "NDEBUG" /D _WIN32_WCE=420 /D "WIN32_PLATFORM_PSPC=400" /D UNDER_CE=420 /D "UNICODE" /D "_UNICODE" /D "SHUNT_EXPORTS" /D "MOZCE_SHUNT_EXPORTS" /FR"ARMV4SmartPhone/" /Fo"ARMV4SmartPhone/" /O2 /MC /c
|
||||
"C:\builds\wince\mozilla\build\wince\shunt\stdio.cpp"
|
||||
]
|
||||
Creating command line "clarm.exe @C:\DOCUME~1\dougt\LOCALS~1\Temp\RSP3376.tmp"
|
||||
Creating temporary file "C:\DOCUME~1\dougt\LOCALS~1\Temp\RSP3377.tmp" with contents
|
||||
[
|
||||
commctrl.lib coredll.lib /nologo /base:"0x00100000" /stack:0x5000000 /entry:"_DllMainCRTStartup" /dll /pdb:none /incremental:no /nodefaultlib:"libc.lib /nodefaultlib:libcd.lib /nodefaultlib:libcmt.lib /nodefaultlib:libcmtd.lib /nodefaultlib:msvcrt.lib /nodefaultlib:msvcrtd.lib" /out:"ARMV4SmartPhone/shunt.dll" /implib:"ARMV4SmartPhone/shunt.lib" /subsystem:windowsce,4.20 /align:"4096" /MACHINE:ARM
|
||||
.\ARMV4SmartPhone\a2w.obj
|
||||
.\ARMV4SmartPhone\assert.obj
|
||||
.\ARMV4SmartPhone\direct.obj
|
||||
.\ARMV4SmartPhone\errno.obj
|
||||
.\ARMV4SmartPhone\io.obj
|
||||
.\ARMV4SmartPhone\mbstring.obj
|
||||
.\ARMV4SmartPhone\nclog.obj
|
||||
.\ARMV4SmartPhone\process.obj
|
||||
.\ARMV4SmartPhone\signal.obj
|
||||
.\ARMV4SmartPhone\stat.obj
|
||||
|
@ -176,10 +215,11 @@ commctrl.lib coredll.lib /nologo /base:"0x00100000" /stack:0x1000000 /entry:"_Dl
|
|||
.\ARMV4SmartPhone\win32.obj
|
||||
.\ARMV4SmartPhone\win32A.obj
|
||||
.\ARMV4SmartPhone\win32W.obj
|
||||
.\ARMV4SmartPhone\nclog.obj
|
||||
]
|
||||
Creating command line "link.exe @C:\DOCUME~1\dougt\LOCALS~1\Temp\RSP2CE.tmp"
|
||||
Creating command line "link.exe @C:\DOCUME~1\dougt\LOCALS~1\Temp\RSP3377.tmp"
|
||||
<h3>Output Window</h3>
|
||||
Compiling...
|
||||
stdio.cpp
|
||||
Linking...
|
||||
Creating library ARMV4SmartPhone/shunt.lib and object ARMV4SmartPhone/shunt.exp
|
||||
|
||||
|
|
Двоичные данные
build/wince/shunt/build/shunt.vco
Двоичные данные
build/wince/shunt/build/shunt.vco
Двоичный файл не отображается.
|
@ -63,7 +63,7 @@ BSC32=bscmake.exe
|
|||
# ADD BSC32 /nologo
|
||||
LINK32=link.exe
|
||||
# ADD BASE LINK32 commctrl.lib coredll.lib $(CEx86Corelibc) /nologo /base:"0x00100000" /stack:0x10000,0x1000 /entry:"_DllMainCRTStartup" /dll /nodefaultlib:"OLDNAMES.lib" /nodefaultlib:$(CENoDefaultLib) /subsystem:$(CESubsystem) /MACHINE:IX86
|
||||
# ADD LINK32 commctrl.lib coredll.lib $(CEx86Corelibc) /nologo /base:"0x00100000" /stack:0x1000000 /entry:"_DllMainCRTStartup" /dll /pdb:none /nodefaultlib:"OLDNAMES.lib" /nodefaultlib:$(CENoDefaultLib) /subsystem:$(CESubsystem) /MACHINE:IX86
|
||||
# ADD LINK32 commctrl.lib coredll.lib $(CEx86Corelibc) /nologo /base:"0x00100000" /stack:0x5000000 /entry:"_DllMainCRTStartup" /dll /pdb:none /nodefaultlib:"OLDNAMES.lib" /nodefaultlib:$(CENoDefaultLib) /subsystem:$(CESubsystem) /MACHINE:IX86
|
||||
# SUBTRACT LINK32 /map
|
||||
|
||||
!ELSEIF "$(CFG)" == "shunt - Win32 (WCE emulator) Debug"
|
||||
|
@ -98,7 +98,7 @@ BSC32=bscmake.exe
|
|||
# ADD BSC32 /nologo
|
||||
LINK32=link.exe
|
||||
# ADD BASE LINK32 commctrl.lib coredll.lib $(CEx86Corelibc) /nologo /base:"0x00100000" /stack:0x10000,0x1000 /entry:"_DllMainCRTStartup" /dll /debug /nodefaultlib:"OLDNAMES.lib" /nodefaultlib:$(CENoDefaultLib) /subsystem:$(CESubsystem) /MACHINE:IX86
|
||||
# ADD LINK32 commctrl.lib coredll.lib $(CEx86Corelibc) /nologo /base:"0x00100000" /stack:0x1000000 /entry:"_DllMainCRTStartup" /dll /pdb:none /debug /nodefaultlib:"OLDNAMES.lib" /nodefaultlib:$(CENoDefaultLib) /subsystem:$(CESubsystem) /MACHINE:IX86
|
||||
# ADD LINK32 commctrl.lib coredll.lib $(CEx86Corelibc) /nologo /base:"0x00100000" /stack:0x5000000 /entry:"_DllMainCRTStartup" /dll /pdb:none /debug /nodefaultlib:"OLDNAMES.lib" /nodefaultlib:$(CENoDefaultLib) /subsystem:$(CESubsystem) /MACHINE:IX86
|
||||
# SUBTRACT LINK32 /map
|
||||
|
||||
!ELSEIF "$(CFG)" == "shunt - Win32 (WCE ARMV4) Release"
|
||||
|
@ -133,7 +133,7 @@ BSC32=bscmake.exe
|
|||
# ADD BSC32 /nologo
|
||||
LINK32=link.exe
|
||||
# ADD BASE LINK32 commctrl.lib coredll.lib /nologo /base:"0x00100000" /stack:0x10000,0x1000 /entry:"_DllMainCRTStartup" /dll /nodefaultlib:"$(CENoDefaultLib)" /subsystem:$(CESubsystem) /align:"4096" /MACHINE:ARM
|
||||
# ADD LINK32 commctrl.lib coredll.lib /nologo /base:"0x00100000" /stack:0x1000000 /entry:"_DllMainCRTStartup" /dll /pdb:none /nodefaultlib:"$(CENoDefaultLib)" /subsystem:$(CESubsystem) /align:"4096" /MACHINE:ARM
|
||||
# ADD LINK32 commctrl.lib coredll.lib /nologo /base:"0x00100000" /stack:0x5000000 /entry:"_DllMainCRTStartup" /dll /pdb:none /nodefaultlib:"$(CENoDefaultLib)" /subsystem:$(CESubsystem) /align:"4096" /MACHINE:ARM
|
||||
# SUBTRACT LINK32 /map
|
||||
|
||||
!ELSEIF "$(CFG)" == "shunt - Win32 (WCE ARMV4) Debug"
|
||||
|
@ -168,7 +168,7 @@ BSC32=bscmake.exe
|
|||
# ADD BSC32 /nologo
|
||||
LINK32=link.exe
|
||||
# ADD BASE LINK32 commctrl.lib coredll.lib /nologo /base:"0x00100000" /stack:0x10000,0x1000 /entry:"_DllMainCRTStartup" /dll /debug /nodefaultlib:"$(CENoDefaultLib)" /subsystem:$(CESubsystem) /align:"4096" /MACHINE:ARM
|
||||
# ADD LINK32 commctrl.lib coredll.lib /nologo /base:"0x00100000" /stack:0x1000000 /entry:"_DllMainCRTStartup" /dll /pdb:none /debug /nodefaultlib:"$(CENoDefaultLib)" /subsystem:$(CESubsystem) /align:"4096" /MACHINE:ARM
|
||||
# ADD LINK32 commctrl.lib coredll.lib /nologo /base:"0x00100000" /stack:0x5000000 /entry:"_DllMainCRTStartup" /dll /pdb:none /debug /nodefaultlib:"$(CENoDefaultLib)" /subsystem:$(CESubsystem) /align:"4096" /MACHINE:ARM
|
||||
# SUBTRACT LINK32 /map
|
||||
|
||||
!ELSEIF "$(CFG)" == "shunt - Win32 (WCE ARMV4) SmartPhone"
|
||||
|
@ -206,7 +206,7 @@ BSC32=bscmake.exe
|
|||
LINK32=link.exe
|
||||
# ADD BASE LINK32 commctrl.lib coredll.lib /nologo /base:"0x00100000" /stack:0x1000000 /entry:"_DllMainCRTStartup" /dll /pdb:none /nodefaultlib:"$(CENoDefaultLib)" /subsystem:$(CESubsystem) /align:"4096" /MACHINE:ARM
|
||||
# SUBTRACT BASE LINK32 /map
|
||||
# ADD LINK32 commctrl.lib coredll.lib /nologo /base:"0x00100000" /stack:0x1000000 /entry:"_DllMainCRTStartup" /dll /pdb:none /nodefaultlib:"$(CENoDefaultLib)" /subsystem:$(CESubsystem) /align:"4096" /MACHINE:ARM
|
||||
# ADD LINK32 commctrl.lib coredll.lib /nologo /base:"0x00100000" /stack:0x5000000 /entry:"_DllMainCRTStartup" /dll /pdb:none /nodefaultlib:"$(CENoDefaultLib)" /subsystem:$(CESubsystem) /align:"4096" /MACHINE:ARM
|
||||
# SUBTRACT LINK32 /map
|
||||
|
||||
!ENDIF
|
||||
|
|
|
@ -49,6 +49,8 @@ extern "C" {
|
|||
|
||||
MOZCE_SHUNT_API int mozce_mkdir(const char* inDirname)
|
||||
{
|
||||
MOZCE_PRECHECK
|
||||
|
||||
#ifdef DEBUG
|
||||
mozce_printf("mozce_mkdir called\n");
|
||||
#endif
|
||||
|
@ -74,6 +76,8 @@ MOZCE_SHUNT_API int mozce_mkdir(const char* inDirname)
|
|||
|
||||
MOZCE_SHUNT_API int mozce_rmdir(const char* inDirname)
|
||||
{
|
||||
MOZCE_PRECHECK
|
||||
|
||||
#ifdef DEBUG
|
||||
mozce_printf("mozce_rmdir called (%s)\n", inDirname);
|
||||
#endif
|
||||
|
|
|
@ -37,7 +37,7 @@
|
|||
#ifndef MOZCE_DEFS
|
||||
#define MOZCE_DEFS
|
||||
|
||||
// #define USE_NC_LOGGING 1
|
||||
#define USE_NC_LOGGING 1
|
||||
|
||||
#define NOMINMAX
|
||||
|
||||
|
|
|
@ -215,12 +215,40 @@
|
|||
#endif
|
||||
#define getcwd mozce_getcwd
|
||||
|
||||
|
||||
#ifdef printf
|
||||
#undef printf
|
||||
#endif
|
||||
#define printf mozce_printf
|
||||
|
||||
#ifdef open
|
||||
#undef open
|
||||
#endif
|
||||
#define open mozce_open
|
||||
|
||||
#ifdef close
|
||||
#undef close
|
||||
#endif
|
||||
#define close mozce_close
|
||||
|
||||
#ifdef read
|
||||
#undef read
|
||||
#endif
|
||||
#define read mozce_read
|
||||
|
||||
#ifdef write
|
||||
#undef write
|
||||
#endif
|
||||
#define write mozce_write
|
||||
|
||||
#ifdef unlink
|
||||
#undef unlink
|
||||
#endif
|
||||
#define unlink mozce_unlink
|
||||
|
||||
#ifdef lseek
|
||||
#undef lseek
|
||||
#endif
|
||||
#define lseek mozce_lseek
|
||||
|
||||
// From stdlib.cpp
|
||||
#ifdef _fullpath
|
||||
|
@ -1156,6 +1184,13 @@ extern "C" {
|
|||
|
||||
MOZCE_SHUNT_API int mozce_printf(const char *, ...);
|
||||
|
||||
MOZCE_SHUNT_API int mozce_open(const char *pathname, int flags, int mode);
|
||||
MOZCE_SHUNT_API int mozce_close(int fp);
|
||||
MOZCE_SHUNT_API size_t mozce_read(int fp, void* buffer, size_t count);
|
||||
MOZCE_SHUNT_API size_t mozce_write(int fp, const void* buffer, size_t count);
|
||||
MOZCE_SHUNT_API int mozce_unlink(const char *pathname);
|
||||
MOZCE_SHUNT_API int mozce_lseek(int fildes, int offset, int whence);
|
||||
|
||||
|
||||
// From stdlib.cpp
|
||||
MOZCE_SHUNT_API void mozce_splitpath(const char* inPath, char* outDrive, char* outDir, char* outFname, char* outExt);
|
||||
|
|
|
@ -48,6 +48,8 @@ extern "C" {
|
|||
|
||||
MOZCE_SHUNT_API int mozce_chmod(const char* inFilename, int inMode)
|
||||
{
|
||||
MOZCE_PRECHECK
|
||||
|
||||
#ifdef DEBUG
|
||||
mozce_printf("mozce_chmod called\n");
|
||||
#endif
|
||||
|
@ -90,6 +92,8 @@ MOZCE_SHUNT_API int mozce_chmod(const char* inFilename, int inMode)
|
|||
|
||||
MOZCE_SHUNT_API int mozce_isatty(int inHandle)
|
||||
{
|
||||
MOZCE_PRECHECK
|
||||
|
||||
#ifdef DEBUG
|
||||
mozce_printf("mozce_isatty called\n");
|
||||
#endif
|
||||
|
|
|
@ -55,6 +55,8 @@ extern "C" {
|
|||
|
||||
MOZCE_SHUNT_API unsigned char* mozce_mbsinc(const unsigned char* inCurrent)
|
||||
{
|
||||
MOZCE_PRECHECK
|
||||
|
||||
#ifdef LOG_CALLS
|
||||
#ifdef DEBUG
|
||||
mozce_printf("mozce_mbsinc called\n");
|
||||
|
@ -67,6 +69,8 @@ MOZCE_SHUNT_API unsigned char* mozce_mbsinc(const unsigned char* inCurrent)
|
|||
|
||||
MOZCE_SHUNT_API unsigned char* mozce_mbspbrk(const unsigned char* inString, const unsigned char* inStrCharSet)
|
||||
{
|
||||
MOZCE_PRECHECK
|
||||
|
||||
#ifdef LOG_CALLS
|
||||
#ifdef DEBUG
|
||||
mozce_printf("mozce_mbspbrk called\n");
|
||||
|
@ -84,6 +88,8 @@ MOZCE_SHUNT_API unsigned char* mozce_mbspbrk(const unsigned char* inString, cons
|
|||
|
||||
MOZCE_SHUNT_API unsigned char* mozce_mbsrchr(const unsigned char* inString, unsigned int inC)
|
||||
{
|
||||
MOZCE_PRECHECK
|
||||
|
||||
#ifdef LOG_CALLS
|
||||
#ifdef DEBUG
|
||||
mozce_printf("mozce_mbsrchr called\n");
|
||||
|
@ -96,6 +102,8 @@ MOZCE_SHUNT_API unsigned char* mozce_mbsrchr(const unsigned char* inString, unsi
|
|||
|
||||
MOZCE_SHUNT_API unsigned char* mozce_mbschr(const unsigned char* inString, unsigned int inC)
|
||||
{
|
||||
MOZCE_PRECHECK
|
||||
|
||||
#ifdef LOG_CALLS
|
||||
#ifdef DEBUG
|
||||
mozce_printf("mozce_mbschr called\n");
|
||||
|
|
|
@ -163,4 +163,19 @@ extern "C" {
|
|||
void nclog (const char *fmt, ...);
|
||||
void nclograw(const char* data, long length);
|
||||
|
||||
//#define MOZCE_PRECHECK \
|
||||
//{ \
|
||||
// MEMORYSTATUS memStats; \
|
||||
// memStats.dwLength = sizeof( memStats); \
|
||||
// \
|
||||
// GlobalMemoryStatus( (LPMEMORYSTATUS)&memStats ); \
|
||||
// \
|
||||
// char buffer[100]; \
|
||||
// sprintf(buffer, ">> dwAvailPhys (%d)\n", memStats.dwAvailPhys / 1024); \
|
||||
// \
|
||||
// nclograw(buffer, strlen(buffer)); \
|
||||
//} \
|
||||
|
||||
#define MOZCE_PRECHECK
|
||||
|
||||
#endif /* __mozce_internal_h */
|
||||
|
|
|
@ -49,6 +49,8 @@ extern "C" {
|
|||
|
||||
MOZCE_SHUNT_API void mozce_abort(void)
|
||||
{
|
||||
MOZCE_PRECHECK
|
||||
|
||||
#ifdef DEBUG
|
||||
mozce_printf("mozce_abort called\n");
|
||||
#endif
|
||||
|
@ -62,6 +64,8 @@ MOZCE_SHUNT_API void mozce_abort(void)
|
|||
|
||||
MOZCE_SHUNT_API char* mozce_getenv(const char* inName)
|
||||
{
|
||||
MOZCE_PRECHECK
|
||||
|
||||
#ifdef DEBUG
|
||||
mozce_printf("mozce_getenv called (%s)\n", inName);
|
||||
#endif
|
||||
|
@ -83,6 +87,8 @@ MOZCE_SHUNT_API char* mozce_getenv(const char* inName)
|
|||
|
||||
MOZCE_SHUNT_API int mozce_putenv(const char *a)
|
||||
{
|
||||
MOZCE_PRECHECK
|
||||
|
||||
#ifdef DEBUG
|
||||
mozce_printf("mozce_putenv called\n");
|
||||
#endif
|
||||
|
@ -92,6 +98,8 @@ MOZCE_SHUNT_API int mozce_putenv(const char *a)
|
|||
|
||||
MOZCE_SHUNT_API int mozce_getpid(void)
|
||||
{
|
||||
MOZCE_PRECHECK
|
||||
|
||||
#ifdef DEBUG
|
||||
mozce_printf("mozce_getpid called\n");
|
||||
#endif
|
||||
|
|
|
@ -59,6 +59,8 @@ static void defaultSighandler(int inSignal)
|
|||
|
||||
MOZCE_SHUNT_API int mozce_raise(int inSignal)
|
||||
{
|
||||
MOZCE_PRECHECK
|
||||
|
||||
#ifdef DEBUG
|
||||
mozce_printf("mozce_raise called\n");
|
||||
#endif
|
||||
|
@ -80,6 +82,8 @@ MOZCE_SHUNT_API int mozce_raise(int inSignal)
|
|||
|
||||
MOZCE_SHUNT_API _sigsig mozce_signal(int inSignal, _sigsig inFunc)
|
||||
{
|
||||
MOZCE_PRECHECK
|
||||
|
||||
#ifdef DEBUG
|
||||
mozce_printf("mozce_signal called\n");
|
||||
#endif
|
||||
|
|
|
@ -50,6 +50,8 @@ extern "C" {
|
|||
|
||||
MOZCE_SHUNT_API int mozce_stat(const char* inPath, struct stat* outStats)
|
||||
{
|
||||
MOZCE_PRECHECK
|
||||
|
||||
#ifdef DEBUG
|
||||
mozce_printf("mozce_stat called\n");
|
||||
#endif
|
||||
|
|
|
@ -50,6 +50,8 @@ extern "C" {
|
|||
|
||||
MOZCE_SHUNT_API void mozce_rewind(FILE* inStream)
|
||||
{
|
||||
MOZCE_PRECHECK
|
||||
|
||||
#ifdef DEBUG
|
||||
mozce_printf("mozce_rewind called\n");
|
||||
#endif
|
||||
|
@ -60,6 +62,8 @@ MOZCE_SHUNT_API void mozce_rewind(FILE* inStream)
|
|||
|
||||
MOZCE_SHUNT_API FILE* mozce_fdopen(int inFD, const char* inMode)
|
||||
{
|
||||
MOZCE_PRECHECK
|
||||
|
||||
#ifdef DEBUG
|
||||
mozce_printf("mozce_fdopen called\n");
|
||||
#endif
|
||||
|
@ -83,6 +87,8 @@ MOZCE_SHUNT_API FILE* mozce_fdopen(int inFD, const char* inMode)
|
|||
|
||||
MOZCE_SHUNT_API void mozce_perror(const char* inString)
|
||||
{
|
||||
MOZCE_PRECHECK
|
||||
|
||||
#ifdef DEBUG
|
||||
mozce_printf("mozce_perror called\n");
|
||||
#endif
|
||||
|
@ -93,6 +99,8 @@ MOZCE_SHUNT_API void mozce_perror(const char* inString)
|
|||
|
||||
MOZCE_SHUNT_API int mozce_remove(const char* inPath)
|
||||
{
|
||||
MOZCE_PRECHECK
|
||||
|
||||
#ifdef DEBUG
|
||||
mozce_printf("mozce_remove called on %s\n", inPath);
|
||||
#endif
|
||||
|
@ -118,6 +126,8 @@ MOZCE_SHUNT_API int mozce_remove(const char* inPath)
|
|||
|
||||
MOZCE_SHUNT_API char* mozce_getcwd(char* buff, size_t size)
|
||||
{
|
||||
MOZCE_PRECHECK
|
||||
|
||||
#ifdef DEBUG
|
||||
mozce_printf("mozce_getcwd called. NOT IMPLEMENTED!!\n");
|
||||
#endif
|
||||
|
@ -126,15 +136,13 @@ MOZCE_SHUNT_API char* mozce_getcwd(char* buff, size_t size)
|
|||
|
||||
MOZCE_SHUNT_API int mozce_printf(const char * format, ...)
|
||||
{
|
||||
int result;
|
||||
char buffer[1024];
|
||||
unsigned short wBuffer[1024];
|
||||
|
||||
// DONT CALL IN PRINTF MOZCE_PRECHECK
|
||||
|
||||
va_list argp;
|
||||
va_start(argp, format);
|
||||
|
||||
|
||||
result = _snprintf(buffer, 1023, format, argp);
|
||||
char buffer[1024];
|
||||
int result = _snprintf(buffer, 1023, format, argp);
|
||||
|
||||
if (result<=0)
|
||||
return result;
|
||||
|
@ -143,6 +151,8 @@ MOZCE_SHUNT_API int mozce_printf(const char * format, ...)
|
|||
nclograw(buffer, strlen(buffer));
|
||||
#endif
|
||||
|
||||
unsigned short wBuffer[1024];
|
||||
|
||||
if(0 != a2w_buffer(buffer, -1, wBuffer, sizeof(wBuffer) / sizeof(unsigned short)))
|
||||
{
|
||||
OutputDebugString(wBuffer);
|
||||
|
@ -153,6 +163,109 @@ MOZCE_SHUNT_API int mozce_printf(const char * format, ...)
|
|||
return result;
|
||||
}
|
||||
|
||||
|
||||
MOZCE_SHUNT_API int mozce_open(const char *pathname, int flags, int mode)
|
||||
{
|
||||
MOZCE_PRECHECK
|
||||
|
||||
#ifdef DEBUG
|
||||
mozce_printf("mozce_open called\n");
|
||||
#endif
|
||||
if (mode | O_RDONLY)
|
||||
{
|
||||
return (int) fopen(pathname, "r");
|
||||
}
|
||||
|
||||
if (mode | O_RDWR && mode | O_CREAT)
|
||||
{
|
||||
return (int) fopen(pathname, "w+");
|
||||
}
|
||||
|
||||
if (mode | O_RDWR && mode | O_APPEND)
|
||||
{
|
||||
return (int) fopen(pathname, "a+");
|
||||
}
|
||||
|
||||
if (mode | O_RDWR)
|
||||
{
|
||||
return (int) fopen(pathname, "r+");
|
||||
}
|
||||
|
||||
if (mode | O_WRONLY && mode | O_CREAT)
|
||||
{
|
||||
return (int) fopen(pathname, "w+");
|
||||
}
|
||||
|
||||
if (mode | O_WRONLY && mode | O_APPEND)
|
||||
{
|
||||
return (int) fopen(pathname, "a");
|
||||
}
|
||||
|
||||
if (mode | O_WRONLY)
|
||||
{
|
||||
return (int) fopen(pathname, "w");
|
||||
}
|
||||
|
||||
#ifdef DEBUG
|
||||
mozce_printf("-- Unsupported mode!\n");
|
||||
#endif
|
||||
return 0;
|
||||
}
|
||||
|
||||
MOZCE_SHUNT_API int mozce_close(int fp)
|
||||
{
|
||||
MOZCE_PRECHECK
|
||||
|
||||
#ifdef DEBUG
|
||||
mozce_printf("mozce_close called\n");
|
||||
#endif
|
||||
return fclose((FILE*) fp);
|
||||
}
|
||||
|
||||
MOZCE_SHUNT_API size_t mozce_read(int fp, void* buffer, size_t count)
|
||||
{
|
||||
MOZCE_PRECHECK
|
||||
|
||||
#ifdef DEBUG
|
||||
mozce_printf("mozce_read called\n");
|
||||
#endif
|
||||
return fread(buffer, count, 1, (void*)fp);
|
||||
}
|
||||
|
||||
|
||||
MOZCE_SHUNT_API size_t mozce_write(int fp, const void* buffer, size_t count)
|
||||
{
|
||||
MOZCE_PRECHECK
|
||||
|
||||
#ifdef DEBUG
|
||||
mozce_printf("mozce_write called\n");
|
||||
#endif
|
||||
return fwrite(buffer, count, 1, (void*)fp);
|
||||
}
|
||||
|
||||
|
||||
MOZCE_SHUNT_API int mozce_unlink(const char *pathname)
|
||||
{
|
||||
MOZCE_PRECHECK
|
||||
|
||||
#ifdef DEBUG
|
||||
mozce_printf("mozce_unlink called\n");
|
||||
#endif
|
||||
return mozce_remove(pathname);
|
||||
}
|
||||
|
||||
|
||||
MOZCE_SHUNT_API int mozce_lseek(int fildes, int offset, int whence)
|
||||
{
|
||||
MOZCE_PRECHECK
|
||||
|
||||
#ifdef DEBUG
|
||||
mozce_printf("mozce_lseek called\n");
|
||||
#endif
|
||||
|
||||
return fseek((FILE*) fildes, offset, whence);
|
||||
}
|
||||
|
||||
#if 0
|
||||
{
|
||||
#endif
|
||||
|
|
|
@ -51,6 +51,8 @@ extern "C" {
|
|||
|
||||
MOZCE_SHUNT_API char *mozce_fullpath(char *absPath, const char *relPath, size_t maxLength)
|
||||
{
|
||||
MOZCE_PRECHECK
|
||||
|
||||
#ifdef LOG_CALLS
|
||||
#ifdef DEBUG
|
||||
mozce_printf("*mozce_fullpath called\n");
|
||||
|
@ -61,6 +63,8 @@ MOZCE_SHUNT_API char *mozce_fullpath(char *absPath, const char *relPath, size_t
|
|||
|
||||
MOZCE_SHUNT_API void mozce_splitpath(const char* inPath, char* outDrive, char* outDir, char* outFname, char* outExt)
|
||||
{
|
||||
MOZCE_PRECHECK
|
||||
|
||||
#ifdef LOG_CALLS
|
||||
#ifdef DEBUG
|
||||
mozce_printf("mozce_splitpath called\n");
|
||||
|
@ -170,6 +174,8 @@ MOZCE_SHUNT_API void mozce_splitpath(const char* inPath, char* outDrive, char* o
|
|||
|
||||
MOZCE_SHUNT_API void mozce_makepath(char* outPath, const char* inDrive, const char* inDir, const char* inFname, const char* inExt)
|
||||
{
|
||||
MOZCE_PRECHECK
|
||||
|
||||
#ifdef LOG_CALLS
|
||||
#ifdef DEBUG
|
||||
mozce_printf("mozce_makepath called\n");
|
||||
|
@ -198,6 +204,8 @@ MOZCE_SHUNT_API void mozce_makepath(char* outPath, const char* inDrive, const ch
|
|||
|
||||
MOZCE_SHUNT_API int mozce_strcmpi(const char *dest, const char *src)
|
||||
{
|
||||
MOZCE_PRECHECK
|
||||
|
||||
#ifdef LOG_CALLS
|
||||
#ifdef DEBUG
|
||||
mozce_printf("mozce_strcmpi called\n");
|
||||
|
|
|
@ -47,6 +47,8 @@ extern "C" {
|
|||
|
||||
MOZCE_SHUNT_API char* mozce_strerror(int inErrno)
|
||||
{
|
||||
MOZCE_PRECHECK
|
||||
|
||||
#ifdef DEBUG
|
||||
mozce_printf("mozce_strerror called\n");
|
||||
#endif
|
||||
|
@ -56,6 +58,8 @@ MOZCE_SHUNT_API char* mozce_strerror(int inErrno)
|
|||
|
||||
MOZCE_SHUNT_API int mozce_wsprintfA(LPTSTR lpOut, LPCTSTR lpFmt, ... )
|
||||
{
|
||||
MOZCE_PRECHECK
|
||||
|
||||
#ifdef DEBUG
|
||||
mozce_printf("-- mozce_wsprintfA called\n");
|
||||
#endif
|
||||
|
|
|
@ -54,6 +54,8 @@ static struct tm tmStorage;
|
|||
|
||||
MOZCE_SHUNT_API size_t mozce_strftime(char *, size_t, const char *, const struct tm *)
|
||||
{
|
||||
MOZCE_PRECHECK
|
||||
|
||||
#ifdef DEBUG
|
||||
mozce_printf("mozce_strftime called\n");
|
||||
#endif
|
||||
|
@ -64,6 +66,8 @@ MOZCE_SHUNT_API size_t mozce_strftime(char *, size_t, const char *, const struct
|
|||
|
||||
MOZCE_SHUNT_API struct tm* mozce_localtime_r(const time_t* inTimeT,struct tm* outRetval)
|
||||
{
|
||||
MOZCE_PRECHECK
|
||||
|
||||
#ifdef DEBUG
|
||||
mozce_printf("tm* mozce_localtime_r called\n");
|
||||
#endif
|
||||
|
@ -113,6 +117,8 @@ MOZCE_SHUNT_API struct tm* mozce_localtime_r(const time_t* inTimeT,struct tm* ou
|
|||
|
||||
MOZCE_SHUNT_API struct tm* mozce_localtime(const time_t* inTimeT)
|
||||
{
|
||||
MOZCE_PRECHECK
|
||||
|
||||
#ifdef DEBUG
|
||||
mozce_printf("tm* mozce_localtime called\n");
|
||||
#endif
|
||||
|
@ -123,6 +129,8 @@ MOZCE_SHUNT_API struct tm* mozce_localtime(const time_t* inTimeT)
|
|||
|
||||
MOZCE_SHUNT_API struct tm* mozce_gmtime_r(const time_t* inTimeT, struct tm* outRetval)
|
||||
{
|
||||
MOZCE_PRECHECK
|
||||
|
||||
#ifdef DEBUG
|
||||
mozce_printf("tm* mozce_gmtime_r called\n");
|
||||
#endif
|
||||
|
@ -172,6 +180,8 @@ MOZCE_SHUNT_API struct tm* mozce_gmtime_r(const time_t* inTimeT, struct tm* outR
|
|||
|
||||
MOZCE_SHUNT_API struct tm* mozce_gmtime(const time_t* inTimeT)
|
||||
{
|
||||
MOZCE_PRECHECK
|
||||
|
||||
#ifdef DEBUG
|
||||
mozce_printf("tm* mozce_gmtime called\n");
|
||||
#endif
|
||||
|
@ -182,6 +192,8 @@ MOZCE_SHUNT_API struct tm* mozce_gmtime(const time_t* inTimeT)
|
|||
|
||||
MOZCE_SHUNT_API time_t mozce_mktime(struct tm* inTM)
|
||||
{
|
||||
MOZCE_PRECHECK
|
||||
|
||||
#ifdef DEBUG
|
||||
mozce_printf("mozce_mktime called\n");
|
||||
#endif
|
||||
|
@ -223,6 +235,8 @@ MOZCE_SHUNT_API time_t mozce_mktime(struct tm* inTM)
|
|||
|
||||
MOZCE_SHUNT_API time_t mozce_time(time_t* inStorage)
|
||||
{
|
||||
MOZCE_PRECHECK
|
||||
|
||||
#ifdef DEBUG
|
||||
mozce_printf("mozce_time called\n");
|
||||
#endif
|
||||
|
@ -242,6 +256,8 @@ MOZCE_SHUNT_API time_t mozce_time(time_t* inStorage)
|
|||
|
||||
MOZCE_SHUNT_API char* mozce_ctime(const time_t* timer)
|
||||
{
|
||||
MOZCE_PRECHECK
|
||||
|
||||
#ifdef DEBUG
|
||||
mozce_printf("mozce_ctime called\n");
|
||||
#endif
|
||||
|
|
|
@ -54,6 +54,8 @@ extern "C" {
|
|||
|
||||
MOZCE_SHUNT_API int mozce_MulDiv(int inNumber, int inNumerator, int inDenominator)
|
||||
{
|
||||
MOZCE_PRECHECK
|
||||
|
||||
#ifdef DEBUG
|
||||
mozce_printf("mozce_MulDiv called\n");
|
||||
#endif
|
||||
|
@ -67,6 +69,8 @@ MOZCE_SHUNT_API int mozce_MulDiv(int inNumber, int inNumerator, int inDenominato
|
|||
|
||||
MOZCE_SHUNT_API int mozce_GetDIBits(HDC inDC, HBITMAP inBMP, UINT inStartScan, UINT inScanLines, LPVOID inBits, LPBITMAPINFO inInfo, UINT inUsage)
|
||||
{
|
||||
MOZCE_PRECHECK
|
||||
|
||||
#ifdef DEBUG
|
||||
mozce_printf("-- mozce_GetDIBits called\n");
|
||||
#endif
|
||||
|
@ -81,6 +85,8 @@ MOZCE_SHUNT_API int mozce_GetDIBits(HDC inDC, HBITMAP inBMP, UINT inStartScan, U
|
|||
|
||||
MOZCE_SHUNT_API int mozce_SetDIBits(HDC inDC, HBITMAP inBMP, UINT inStartScan, UINT inScanLines, CONST LPVOID inBits, CONST LPBITMAPINFO inInfo, UINT inUsage)
|
||||
{
|
||||
MOZCE_PRECHECK
|
||||
|
||||
#ifdef DEBUG
|
||||
mozce_printf("-- mozce_SetDIBits called\n");
|
||||
#endif
|
||||
|
@ -95,6 +101,8 @@ MOZCE_SHUNT_API int mozce_SetDIBits(HDC inDC, HBITMAP inBMP, UINT inStartScan, U
|
|||
|
||||
MOZCE_SHUNT_API HBITMAP mozce_CreateDIBitmap(HDC inDC, CONST BITMAPINFOHEADER *inBMIH, DWORD inInit, CONST VOID *inBInit, CONST BITMAPINFO *inBMI, UINT inUsage)
|
||||
{
|
||||
MOZCE_PRECHECK
|
||||
|
||||
#ifdef DEBUG
|
||||
mozce_printf("-- mozce_CreateDIBitmap called\n");
|
||||
#endif
|
||||
|
@ -107,6 +115,8 @@ MOZCE_SHUNT_API HBITMAP mozce_CreateDIBitmap(HDC inDC, CONST BITMAPINFOHEADER *i
|
|||
|
||||
MOZCE_SHUNT_API int mozce_SetPolyFillMode(HDC inDC, int inPolyFillMode)
|
||||
{
|
||||
MOZCE_PRECHECK
|
||||
|
||||
#ifdef DEBUG
|
||||
mozce_printf("-- mozce_SetPolyFillMode called\n");
|
||||
#endif
|
||||
|
@ -121,6 +131,8 @@ MOZCE_SHUNT_API int mozce_SetPolyFillMode(HDC inDC, int inPolyFillMode)
|
|||
|
||||
MOZCE_SHUNT_API int mozce_SetStretchBltMode(HDC inDC, int inStretchMode)
|
||||
{
|
||||
MOZCE_PRECHECK
|
||||
|
||||
#ifdef DEBUG
|
||||
mozce_printf("-- mozce_SetStretchBltMode called\n");
|
||||
#endif
|
||||
|
@ -135,6 +147,8 @@ MOZCE_SHUNT_API int mozce_SetStretchBltMode(HDC inDC, int inStretchMode)
|
|||
|
||||
MOZCE_SHUNT_API int mozce_ExtSelectClipRgn(HDC inDC, HRGN inRGN, int inMode)
|
||||
{
|
||||
MOZCE_PRECHECK
|
||||
|
||||
#ifdef DEBUG
|
||||
mozce_printf("mozce_ExtSelectClipRgn called\n");
|
||||
#endif
|
||||
|
@ -171,6 +185,8 @@ typedef VOID CALLBACK LINEDDAPROC(
|
|||
|
||||
MOZCE_SHUNT_API BOOL mozce_LineDDA(int inXStart, int inYStart, int inXEnd, int inYEnd, LINEDDAPROC inLineFunc, LPARAM inData)
|
||||
{
|
||||
MOZCE_PRECHECK
|
||||
|
||||
#ifdef DEBUG
|
||||
mozce_printf("-- mozce_LineDDA called\n");
|
||||
#endif
|
||||
|
@ -185,6 +201,8 @@ MOZCE_SHUNT_API BOOL mozce_LineDDA(int inXStart, int inYStart, int inXEnd, int i
|
|||
|
||||
MOZCE_SHUNT_API int mozce_FrameRect(HDC inDC, CONST RECT *inRect, HBRUSH inBrush)
|
||||
{
|
||||
MOZCE_PRECHECK
|
||||
|
||||
#ifdef DEBUG
|
||||
mozce_printf("mozce_FrameRect called\n");
|
||||
#endif
|
||||
|
@ -221,6 +239,8 @@ MOZCE_SHUNT_API int mozce_FrameRect(HDC inDC, CONST RECT *inRect, HBRUSH inBrush
|
|||
|
||||
MOZCE_SHUNT_API int mozce_SetArcDirection(HDC inDC, int inArcDirection)
|
||||
{
|
||||
MOZCE_PRECHECK
|
||||
|
||||
#ifdef DEBUG
|
||||
mozce_printf("-- mozce_SetArcDirection called\n");
|
||||
#endif
|
||||
|
@ -235,6 +255,8 @@ MOZCE_SHUNT_API int mozce_SetArcDirection(HDC inDC, int inArcDirection)
|
|||
|
||||
MOZCE_SHUNT_API BOOL mozce_Arc(HDC inDC, int inLeftRect, int inTopRect, int inRightRect, int inBottomRect, int inXStartArc, int inYStartArc, int inXEndArc, int inYEndArc)
|
||||
{
|
||||
MOZCE_PRECHECK
|
||||
|
||||
#ifdef DEBUG
|
||||
mozce_printf("-- mozce_Arc called\n");
|
||||
#endif
|
||||
|
@ -249,6 +271,8 @@ MOZCE_SHUNT_API BOOL mozce_Arc(HDC inDC, int inLeftRect, int inTopRect, int inRi
|
|||
|
||||
MOZCE_SHUNT_API BOOL mozce_Pie(HDC inDC, int inLeftRect, int inTopRect, int inRightRect, int inBottomRect, int inXRadial1, int inYRadial1, int inXRadial2, int inYRadial2)
|
||||
{
|
||||
MOZCE_PRECHECK
|
||||
|
||||
#ifdef DEBUG
|
||||
mozce_printf("-- mozce_Pie called\n");
|
||||
#endif
|
||||
|
@ -263,6 +287,8 @@ MOZCE_SHUNT_API BOOL mozce_Pie(HDC inDC, int inLeftRect, int inTopRect, int inRi
|
|||
|
||||
MOZCE_SHUNT_API DWORD mozce_GetFontData(HDC inDC, DWORD inTable, DWORD inOffset, LPVOID outBuffer, DWORD inData)
|
||||
{
|
||||
MOZCE_PRECHECK
|
||||
|
||||
#ifdef DEBUG
|
||||
mozce_printf("-- mozce_GetFontData called\n");
|
||||
#endif
|
||||
|
@ -276,6 +302,8 @@ MOZCE_SHUNT_API DWORD mozce_GetFontData(HDC inDC, DWORD inTable, DWORD inOffset,
|
|||
|
||||
MOZCE_SHUNT_API UINT mozce_GetTextCharset(HDC inDC)
|
||||
{
|
||||
MOZCE_PRECHECK
|
||||
|
||||
#ifdef DEBUG
|
||||
mozce_printf("mozce_GetTextCharset called\n");
|
||||
#endif
|
||||
|
@ -294,6 +322,8 @@ MOZCE_SHUNT_API UINT mozce_GetTextCharset(HDC inDC)
|
|||
|
||||
MOZCE_SHUNT_API UINT mozce_GetTextCharsetInfo(HDC inDC, LPFONTSIGNATURE outSig, DWORD inFlags)
|
||||
{
|
||||
MOZCE_PRECHECK
|
||||
|
||||
#ifdef DEBUG
|
||||
mozce_printf("mozce_GetTextCharsetInfo called\n");
|
||||
#endif
|
||||
|
@ -310,6 +340,8 @@ MOZCE_SHUNT_API UINT mozce_GetTextCharsetInfo(HDC inDC, LPFONTSIGNATURE outSig,
|
|||
|
||||
MOZCE_SHUNT_API UINT mozce_GetOutlineTextMetrics(HDC inDC, UINT inData, void* outOTM)
|
||||
{
|
||||
MOZCE_PRECHECK
|
||||
|
||||
static int x = 0;
|
||||
|
||||
#ifdef DEBUG
|
||||
|
@ -358,6 +390,8 @@ static int CALLBACK collectProc(CONST LOGFONT* inLF, CONST TEXTMETRIC* inTM, DWO
|
|||
|
||||
MOZCE_SHUNT_API int mozce_EnumFontFamiliesEx(HDC inDC, LPLOGFONT inLogfont, FONTENUMPROC inFunc, LPARAM inParam, DWORD inFlags)
|
||||
{
|
||||
MOZCE_PRECHECK
|
||||
|
||||
#ifdef DEBUG
|
||||
mozce_printf("mozce_EnumFontFamiliesEx called\n");
|
||||
#endif
|
||||
|
@ -395,6 +429,8 @@ MOZCE_SHUNT_API int mozce_EnumFontFamiliesEx(HDC inDC, LPLOGFONT inLogfont, FONT
|
|||
|
||||
MOZCE_SHUNT_API int mozce_GetMapMode(HDC inDC)
|
||||
{
|
||||
MOZCE_PRECHECK
|
||||
|
||||
#ifdef DEBUG
|
||||
mozce_printf("mozce_GetMapMode called\n");
|
||||
#endif
|
||||
|
@ -406,6 +442,8 @@ MOZCE_SHUNT_API int mozce_GetMapMode(HDC inDC)
|
|||
|
||||
MOZCE_SHUNT_API BOOL mozce_GetIconInfo(HICON inIcon, PICONINFO outIconinfo)
|
||||
{
|
||||
MOZCE_PRECHECK
|
||||
|
||||
#ifdef DEBUG
|
||||
mozce_printf("-- mozce_GetIconInfo called\n");
|
||||
#endif
|
||||
|
@ -425,6 +463,8 @@ MOZCE_SHUNT_API BOOL mozce_GetIconInfo(HICON inIcon, PICONINFO outIconinfo)
|
|||
|
||||
MOZCE_SHUNT_API BOOL mozce_LPtoDP(HDC inDC, LPPOINT inoutPoints, int inCount)
|
||||
{
|
||||
MOZCE_PRECHECK
|
||||
|
||||
#ifdef DEBUG
|
||||
mozce_printf("-- mozce_LPtoDP called\n");
|
||||
#endif
|
||||
|
@ -437,6 +477,8 @@ MOZCE_SHUNT_API BOOL mozce_LPtoDP(HDC inDC, LPPOINT inoutPoints, int inCount)
|
|||
|
||||
MOZCE_SHUNT_API LONG mozce_RegCreateKey(HKEY inKey, LPCTSTR inSubKey, PHKEY outResult)
|
||||
{
|
||||
MOZCE_PRECHECK
|
||||
|
||||
#ifdef DEBUG
|
||||
mozce_printf("mozce_RegCreateKey called\n");
|
||||
#endif
|
||||
|
@ -452,6 +494,8 @@ MOZCE_SHUNT_API LONG mozce_RegCreateKey(HKEY inKey, LPCTSTR inSubKey, PHKEY outR
|
|||
|
||||
MOZCE_SHUNT_API BOOL mozce_WaitMessage(VOID)
|
||||
{
|
||||
MOZCE_PRECHECK
|
||||
|
||||
#ifdef DEBUG
|
||||
mozce_printf("mozce_WaitMessage called\n");
|
||||
#endif
|
||||
|
@ -471,6 +515,8 @@ MOZCE_SHUNT_API BOOL mozce_WaitMessage(VOID)
|
|||
|
||||
MOZCE_SHUNT_API BOOL mozce_FlashWindow(HWND inWnd, BOOL inInvert)
|
||||
{
|
||||
MOZCE_PRECHECK
|
||||
|
||||
#ifdef DEBUG
|
||||
mozce_printf("-- mozce_FlashWindow called\n");
|
||||
#endif
|
||||
|
@ -529,6 +575,8 @@ static BOOL ECWHelper(HWND inParent, ECWWindows* inChildren, BOOL inRecurse)
|
|||
|
||||
MOZCE_SHUNT_API BOOL mozce_EnumChildWindows(HWND inParent, WNDENUMPROC inFunc, LPARAM inParam)
|
||||
{
|
||||
MOZCE_PRECHECK
|
||||
|
||||
#ifdef DEBUG
|
||||
mozce_printf("mozce_EnumChildWindows called\n");
|
||||
#endif
|
||||
|
@ -575,6 +623,8 @@ MOZCE_SHUNT_API BOOL mozce_EnumChildWindows(HWND inParent, WNDENUMPROC inFunc, L
|
|||
|
||||
MOZCE_SHUNT_API BOOL mozce_EnumThreadWindows(DWORD inThreadID, WNDENUMPROC inFunc, LPARAM inParam)
|
||||
{
|
||||
MOZCE_PRECHECK
|
||||
|
||||
#ifdef DEBUG
|
||||
mozce_printf("mozce_EnumThreadWindows called\n");
|
||||
#endif
|
||||
|
@ -616,6 +666,8 @@ MOZCE_SHUNT_API BOOL mozce_EnumThreadWindows(DWORD inThreadID, WNDENUMPROC inFun
|
|||
|
||||
MOZCE_SHUNT_API BOOL mozce_IsIconic(HWND inWnd)
|
||||
{
|
||||
MOZCE_PRECHECK
|
||||
|
||||
#ifdef DEBUG
|
||||
mozce_printf("-- mozce_IsIconic called\n");
|
||||
#endif
|
||||
|
@ -630,6 +682,8 @@ MOZCE_SHUNT_API BOOL mozce_IsIconic(HWND inWnd)
|
|||
|
||||
MOZCE_SHUNT_API BOOL mozce_OpenIcon(HWND inWnd)
|
||||
{
|
||||
MOZCE_PRECHECK
|
||||
|
||||
#ifdef DEBUG
|
||||
mozce_printf("-- mozce_OpenIcon called\n");
|
||||
#endif
|
||||
|
@ -644,6 +698,8 @@ MOZCE_SHUNT_API BOOL mozce_OpenIcon(HWND inWnd)
|
|||
|
||||
MOZCE_SHUNT_API HHOOK mozce_SetWindowsHookEx(int inType, void* inFunc, HINSTANCE inMod, DWORD inThreadId)
|
||||
{
|
||||
MOZCE_PRECHECK
|
||||
|
||||
#ifdef DEBUG
|
||||
mozce_printf("-- mozce_SetWindowsHookEx called\n");
|
||||
#endif
|
||||
|
@ -658,6 +714,8 @@ MOZCE_SHUNT_API HHOOK mozce_SetWindowsHookEx(int inType, void* inFunc, HINSTANCE
|
|||
|
||||
MOZCE_SHUNT_API BOOL mozce_UnhookWindowsHookEx(HHOOK inHook)
|
||||
{
|
||||
MOZCE_PRECHECK
|
||||
|
||||
#ifdef DEBUG
|
||||
mozce_printf("-- mozce_UnhookWindowsHookEx called\n");
|
||||
#endif
|
||||
|
@ -672,6 +730,8 @@ MOZCE_SHUNT_API BOOL mozce_UnhookWindowsHookEx(HHOOK inHook)
|
|||
|
||||
MOZCE_SHUNT_API LRESULT mozce_CallNextHookEx(HHOOK inHook, int inCode, WPARAM wParam, LPARAM lParam)
|
||||
{
|
||||
MOZCE_PRECHECK
|
||||
|
||||
#ifdef DEBUG
|
||||
mozce_printf("-- mozce_CallNextHookEx called\n");
|
||||
#endif
|
||||
|
@ -686,6 +746,8 @@ MOZCE_SHUNT_API LRESULT mozce_CallNextHookEx(HHOOK inHook, int inCode, WPARAM wP
|
|||
|
||||
MOZCE_SHUNT_API BOOL mozce_InvertRgn(HDC inDC, HRGN inRGN)
|
||||
{
|
||||
MOZCE_PRECHECK
|
||||
|
||||
#ifdef DEBUG
|
||||
mozce_printf("-- mozce_InvertRgn called\n");
|
||||
#endif
|
||||
|
@ -700,6 +762,8 @@ MOZCE_SHUNT_API BOOL mozce_InvertRgn(HDC inDC, HRGN inRGN)
|
|||
|
||||
MOZCE_SHUNT_API int mozce_GetScrollPos(HWND inWnd, int inBar)
|
||||
{
|
||||
MOZCE_PRECHECK
|
||||
|
||||
#ifdef DEBUG
|
||||
mozce_printf("mozce_GetScrollPos called\n");
|
||||
#endif
|
||||
|
@ -718,6 +782,8 @@ MOZCE_SHUNT_API int mozce_GetScrollPos(HWND inWnd, int inBar)
|
|||
|
||||
MOZCE_SHUNT_API BOOL mozce_GetScrollRange(HWND inWnd, int inBar, LPINT outMinPos, LPINT outMaxPos)
|
||||
{
|
||||
MOZCE_PRECHECK
|
||||
|
||||
#ifdef DEBUG
|
||||
mozce_printf("mozce_GetScrollRange called\n");
|
||||
#endif
|
||||
|
@ -743,6 +809,8 @@ MOZCE_SHUNT_API BOOL mozce_GetScrollRange(HWND inWnd, int inBar, LPINT outMinPos
|
|||
|
||||
MOZCE_SHUNT_API HRESULT mozce_CoLockObjectExternal(IUnknown* inUnk, BOOL inLock, BOOL inLastUnlockReleases)
|
||||
{
|
||||
MOZCE_PRECHECK
|
||||
|
||||
#ifdef DEBUG
|
||||
mozce_printf("mozce_CoLockObjectExternal called\n");
|
||||
#endif
|
||||
|
@ -771,6 +839,8 @@ MOZCE_SHUNT_API HRESULT mozce_CoLockObjectExternal(IUnknown* inUnk, BOOL inLock,
|
|||
|
||||
MOZCE_SHUNT_API HRESULT mozce_OleSetClipboard(IDataObject* inDataObj)
|
||||
{
|
||||
MOZCE_PRECHECK
|
||||
|
||||
#ifdef DEBUG
|
||||
mozce_printf("-- mozce_OleSetClipboard called\n");
|
||||
#endif
|
||||
|
@ -785,6 +855,8 @@ MOZCE_SHUNT_API HRESULT mozce_OleSetClipboard(IDataObject* inDataObj)
|
|||
|
||||
MOZCE_SHUNT_API HRESULT mozce_OleGetClipboard(IDataObject** outDataObj)
|
||||
{
|
||||
MOZCE_PRECHECK
|
||||
|
||||
#ifdef DEBUG
|
||||
mozce_printf("-- mozce_OleGetClipboard called\n");
|
||||
#endif
|
||||
|
@ -803,6 +875,8 @@ MOZCE_SHUNT_API HRESULT mozce_OleGetClipboard(IDataObject** outDataObj)
|
|||
|
||||
MOZCE_SHUNT_API HRESULT mozce_OleFlushClipboard(void)
|
||||
{
|
||||
MOZCE_PRECHECK
|
||||
|
||||
#ifdef DEBUG
|
||||
mozce_printf("-- mozce_OleFlushClipboard called\n");
|
||||
#endif
|
||||
|
@ -817,6 +891,8 @@ MOZCE_SHUNT_API HRESULT mozce_OleFlushClipboard(void)
|
|||
|
||||
MOZCE_SHUNT_API HRESULT mozce_OleQueryLinkFromData(IDataObject* inSrcDataObject)
|
||||
{
|
||||
MOZCE_PRECHECK
|
||||
|
||||
#ifdef DEBUG
|
||||
mozce_printf("-- mozce_OleQueryLinkFromData called\n");
|
||||
#endif
|
||||
|
@ -831,6 +907,8 @@ MOZCE_SHUNT_API HRESULT mozce_OleQueryLinkFromData(IDataObject* inSrcDataObject)
|
|||
//LPITEMIDLIST
|
||||
MOZCE_SHUNT_API void* mozce_SHBrowseForFolder(void* /*LPBROWSEINFOS*/ inBI)
|
||||
{
|
||||
MOZCE_PRECHECK
|
||||
|
||||
#ifdef DEBUG
|
||||
mozce_printf("-- mozce_SHBrowseForFolder called\n");
|
||||
#endif
|
||||
|
@ -842,6 +920,8 @@ MOZCE_SHUNT_API void* mozce_SHBrowseForFolder(void* /*LPBROWSEINFOS*/ inBI)
|
|||
|
||||
MOZCE_SHUNT_API BOOL mozce_SetMenu(HWND inWnd, HMENU inMenu)
|
||||
{
|
||||
MOZCE_PRECHECK
|
||||
|
||||
#ifdef DEBUG
|
||||
mozce_printf("-- mozce_SetMenu called\n");
|
||||
#endif
|
||||
|
@ -852,6 +932,8 @@ MOZCE_SHUNT_API BOOL mozce_SetMenu(HWND inWnd, HMENU inMenu)
|
|||
|
||||
MOZCE_SHUNT_API BOOL mozce_GetUserName(LPTSTR inBuffer, LPDWORD inoutSize)
|
||||
{
|
||||
MOZCE_PRECHECK
|
||||
|
||||
#ifdef DEBUG
|
||||
mozce_printf("-- mozce_GetUserName called\n");
|
||||
#endif
|
||||
|
@ -867,6 +949,8 @@ MOZCE_SHUNT_API BOOL mozce_GetUserName(LPTSTR inBuffer, LPDWORD inoutSize)
|
|||
|
||||
MOZCE_SHUNT_API DWORD mozce_GetShortPathName(LPCTSTR inLongPath, LPTSTR outShortPath, DWORD inBufferSize)
|
||||
{
|
||||
MOZCE_PRECHECK
|
||||
|
||||
#ifdef DEBUG
|
||||
mozce_printf("-- mozce_GetShortPathName called\n");
|
||||
#endif
|
||||
|
@ -880,6 +964,8 @@ MOZCE_SHUNT_API DWORD mozce_GetShortPathName(LPCTSTR inLongPath, LPTSTR outShort
|
|||
|
||||
MOZCE_SHUNT_API DWORD mozce_GetEnvironmentVariable(LPCSTR lpName, LPCSTR lpBuffer, DWORD nSize)
|
||||
{
|
||||
MOZCE_PRECHECK
|
||||
|
||||
#ifdef DEBUG
|
||||
mozce_printf("-- mozce_GetEnvironmentVariable called\n");
|
||||
#endif
|
||||
|
@ -893,6 +979,8 @@ MOZCE_SHUNT_API DWORD mozce_GetEnvironmentVariable(LPCSTR lpName, LPCSTR lpBuffe
|
|||
|
||||
MOZCE_SHUNT_API void mozce_GetSystemTimeAsFileTime(LPFILETIME lpSystemTimeAsFileTime)
|
||||
{
|
||||
MOZCE_PRECHECK
|
||||
|
||||
#ifdef DEBUG
|
||||
mozce_printf("mozce_GetSystemTimeAsFileTime called\n");
|
||||
#endif
|
||||
|
@ -926,6 +1014,8 @@ struct lconv s_locale_conv =
|
|||
|
||||
MOZCE_SHUNT_API struct lconv * mozce_localeconv(void)
|
||||
{
|
||||
MOZCE_PRECHECK
|
||||
|
||||
#ifdef DEBUG
|
||||
mozce_printf("mozce_localeconv called\n");
|
||||
#endif
|
||||
|
@ -934,6 +1024,8 @@ MOZCE_SHUNT_API struct lconv * mozce_localeconv(void)
|
|||
|
||||
MOZCE_SHUNT_API DWORD mozce_GetCurrentThreadId(void)
|
||||
{
|
||||
MOZCE_PRECHECK
|
||||
|
||||
#ifdef DEBUG
|
||||
mozce_printf("mozce_GetCurrentThreadId called\n");
|
||||
#endif
|
||||
|
@ -942,6 +1034,8 @@ MOZCE_SHUNT_API DWORD mozce_GetCurrentThreadId(void)
|
|||
|
||||
MOZCE_SHUNT_API DWORD mozce_TlsAlloc(void)
|
||||
{
|
||||
MOZCE_PRECHECK
|
||||
|
||||
#ifdef DEBUG
|
||||
mozce_printf("mozce_TlsAlloc called\n");
|
||||
#endif
|
||||
|
@ -950,6 +1044,8 @@ MOZCE_SHUNT_API DWORD mozce_TlsAlloc(void)
|
|||
|
||||
MOZCE_SHUNT_API BOOL mozce_TlsFree(DWORD dwTlsIndex)
|
||||
{
|
||||
MOZCE_PRECHECK
|
||||
|
||||
#ifdef DEBUG
|
||||
mozce_printf("mozce_TlsFree called\n");
|
||||
#endif
|
||||
|
@ -958,6 +1054,8 @@ MOZCE_SHUNT_API BOOL mozce_TlsFree(DWORD dwTlsIndex)
|
|||
|
||||
MOZCE_SHUNT_API HANDLE mozce_GetCurrentProcess(void)
|
||||
{
|
||||
MOZCE_PRECHECK
|
||||
|
||||
#ifdef DEBUG
|
||||
mozce_printf("mozce_GetCurrentProcess called\n");
|
||||
#endif
|
||||
|
@ -1003,6 +1101,8 @@ MOZCE_SHUNT_API DWORD mozce_GetFullPathName(LPCSTR lpFileName,
|
|||
|
||||
MOZCE_SHUNT_API DWORD mozce_MsgWaitForMultipleObjects(DWORD nCount, const HANDLE* pHandles, BOOL bWaitAll, DWORD dwMilliseconds, DWORD dwWakeMask)
|
||||
{
|
||||
MOZCE_PRECHECK
|
||||
|
||||
#ifdef DEBUG
|
||||
mozce_printf("mozce_MsgWaitForMultipleObjects called\n");
|
||||
#endif
|
||||
|
@ -1012,6 +1112,8 @@ MOZCE_SHUNT_API DWORD mozce_MsgWaitForMultipleObjects(DWORD nCount, const HANDLE
|
|||
|
||||
MOZCE_SHUNT_API LONG mozce_GetMessageTime(void)
|
||||
{
|
||||
MOZCE_PRECHECK
|
||||
|
||||
#ifdef DEBUG
|
||||
mozce_printf("mozce_GetMessageTime called\n");
|
||||
#endif
|
||||
|
@ -1021,6 +1123,8 @@ MOZCE_SHUNT_API LONG mozce_GetMessageTime(void)
|
|||
|
||||
MOZCE_SHUNT_API UINT mozce_GetACP(void)
|
||||
{
|
||||
MOZCE_PRECHECK
|
||||
|
||||
#ifdef DEBUG
|
||||
mozce_printf("mozce_GetACP called\n");
|
||||
#endif
|
||||
|
@ -1032,6 +1136,8 @@ MOZCE_SHUNT_API UINT mozce_GetACP(void)
|
|||
|
||||
MOZCE_SHUNT_API DWORD mozce_ExpandEnvironmentStrings(LPCTSTR lpSrc, LPTSTR lpDst, DWORD nSize)
|
||||
{
|
||||
MOZCE_PRECHECK
|
||||
|
||||
#ifdef DEBUG
|
||||
mozce_printf("mozce_ExpandEnvironmentStrings called\n");
|
||||
#endif
|
||||
|
@ -1041,6 +1147,8 @@ MOZCE_SHUNT_API DWORD mozce_ExpandEnvironmentStrings(LPCTSTR lpSrc, LPTSTR lpDst
|
|||
|
||||
MOZCE_SHUNT_API BOOL mozce_GdiFlush(void)
|
||||
{
|
||||
MOZCE_PRECHECK
|
||||
|
||||
return TRUE;
|
||||
}
|
||||
|
||||
|
|
|
@ -55,6 +55,8 @@ extern "C" {
|
|||
|
||||
MOZCE_SHUNT_API DWORD mozce_GetModuleFileNameA(HMODULE hModule, LPSTR lpFilename, DWORD nSize)
|
||||
{
|
||||
MOZCE_PRECHECK
|
||||
|
||||
#ifdef DEBUG
|
||||
mozce_printf("mozce_GetModuleFileNameA called\n");
|
||||
#endif
|
||||
|
@ -73,6 +75,8 @@ MOZCE_SHUNT_API DWORD mozce_GetModuleFileNameA(HMODULE hModule, LPSTR lpFilename
|
|||
|
||||
MOZCE_SHUNT_API BOOL mozce_CreateDirectoryA(LPCSTR lpPathName, LPSECURITY_ATTRIBUTES lpSecurityAttributes)
|
||||
{
|
||||
MOZCE_PRECHECK
|
||||
|
||||
#ifdef DEBUG
|
||||
mozce_printf("mozce_CreateDirectoryA called (%s)\n", lpPathName);
|
||||
#endif
|
||||
|
@ -90,6 +94,8 @@ MOZCE_SHUNT_API BOOL mozce_CreateDirectoryA(LPCSTR lpPathName, LPSECURITY_ATTRIB
|
|||
|
||||
MOZCE_SHUNT_API BOOL mozce_RemoveDirectoryA(LPCSTR lpPathName)
|
||||
{
|
||||
MOZCE_PRECHECK
|
||||
|
||||
#ifdef DEBUG
|
||||
mozce_printf("mozce_RemoveDirectoryA called\n");
|
||||
#endif
|
||||
|
@ -106,6 +112,8 @@ MOZCE_SHUNT_API BOOL mozce_RemoveDirectoryA(LPCSTR lpPathName)
|
|||
|
||||
MOZCE_SHUNT_API BOOL mozce_DeleteFileA(LPCSTR lpFileName)
|
||||
{
|
||||
MOZCE_PRECHECK
|
||||
|
||||
#ifdef DEBUG
|
||||
mozce_printf("mozce_DeleteFile called\n");
|
||||
#endif
|
||||
|
@ -122,6 +130,8 @@ MOZCE_SHUNT_API BOOL mozce_DeleteFileA(LPCSTR lpFileName)
|
|||
|
||||
MOZCE_SHUNT_API BOOL mozce_MoveFileA(LPCSTR lpExistingFileName, LPCSTR lpNewFileName)
|
||||
{
|
||||
MOZCE_PRECHECK
|
||||
|
||||
#ifdef DEBUG
|
||||
mozce_printf("mozce_MoveFileA called (%s)\n", lpExistingFileName);
|
||||
#endif
|
||||
|
@ -140,6 +150,8 @@ MOZCE_SHUNT_API BOOL mozce_MoveFileA(LPCSTR lpExistingFileName, LPCSTR lpNewFile
|
|||
|
||||
MOZCE_SHUNT_API BOOL mozce_CopyFileA(LPCSTR lpExistingFileName, LPCSTR lpNewFileName, BOOL bFailIfExists)
|
||||
{
|
||||
MOZCE_PRECHECK
|
||||
|
||||
#ifdef DEBUG
|
||||
mozce_printf("mozce_CopyFileA called\n");
|
||||
#endif
|
||||
|
@ -158,6 +170,8 @@ MOZCE_SHUNT_API BOOL mozce_CopyFileA(LPCSTR lpExistingFileName, LPCSTR lpNewFile
|
|||
|
||||
MOZCE_SHUNT_API HANDLE mozce_CreateFileA(LPCSTR lpFileName, DWORD dwDesiredAccess, DWORD dwShareMode, LPSECURITY_ATTRIBUTES lpSecurityAttributes, DWORD dwCreationDisposition, DWORD dwFlagsAndAttributes, HANDLE hTemplateFile)
|
||||
{
|
||||
MOZCE_PRECHECK
|
||||
|
||||
#ifdef DEBUG
|
||||
mozce_printf("mozce_CreateFileA called (%s)\n", lpFileName);
|
||||
#endif
|
||||
|
@ -181,6 +195,8 @@ MOZCE_SHUNT_API HANDLE mozce_CreateFileA(LPCSTR lpFileName, DWORD dwDesiredAcces
|
|||
|
||||
MOZCE_SHUNT_API DWORD mozce_GetFileAttributesA(LPCSTR lpFileName)
|
||||
{
|
||||
MOZCE_PRECHECK
|
||||
|
||||
#ifdef DEBUG
|
||||
mozce_printf("mozce_GetFileAttributesA called\n");
|
||||
#endif
|
||||
|
@ -198,6 +214,8 @@ MOZCE_SHUNT_API DWORD mozce_GetFileAttributesA(LPCSTR lpFileName)
|
|||
|
||||
MOZCE_SHUNT_API BOOL mozce_CreateProcessA(LPCSTR pszImageName, LPCSTR pszCmdLine, LPSECURITY_ATTRIBUTES psaProcess, LPSECURITY_ATTRIBUTES psaThread, BOOL fInheritHandles, DWORD fdwCreate, LPVOID pvEnvironment, LPSTR pszCurDir, LPSTARTUPINFO psiStartInfo, LPPROCESS_INFORMATION pProcInfo)
|
||||
{
|
||||
MOZCE_PRECHECK
|
||||
|
||||
#ifdef DEBUG
|
||||
mozce_printf("mozce_CreateProcessA called\n");
|
||||
#endif
|
||||
|
@ -227,6 +245,8 @@ MOZCE_SHUNT_API BOOL mozce_CreateProcessA(LPCSTR pszImageName, LPCSTR pszCmdLine
|
|||
|
||||
MOZCE_SHUNT_API int mozce_GetLocaleInfoA(LCID Locale, LCTYPE LCType, LPSTR lpLCData, int cchData)
|
||||
{
|
||||
MOZCE_PRECHECK
|
||||
|
||||
#ifdef DEBUG
|
||||
mozce_printf("mozce_GetLocaleInfoA called\n");
|
||||
#endif
|
||||
|
@ -276,6 +296,8 @@ MOZCE_SHUNT_API int mozce_GetLocaleInfoA(LCID Locale, LCTYPE LCType, LPSTR lpLCD
|
|||
|
||||
MOZCE_SHUNT_API UINT mozce_GetWindowsDirectoryA(LPSTR inBuffer, UINT inSize)
|
||||
{
|
||||
MOZCE_PRECHECK
|
||||
|
||||
#ifdef DEBUG
|
||||
mozce_printf("mozce_GetWindowsDirectoryA called\n");
|
||||
#endif
|
||||
|
@ -298,6 +320,8 @@ MOZCE_SHUNT_API UINT mozce_GetWindowsDirectoryA(LPSTR inBuffer, UINT inSize)
|
|||
|
||||
MOZCE_SHUNT_API UINT mozce_GetSystemDirectoryA(LPSTR inBuffer, UINT inSize)
|
||||
{
|
||||
MOZCE_PRECHECK
|
||||
|
||||
#ifdef DEBUG
|
||||
mozce_printf("mozce_GetSystemDirectoryA called\n");
|
||||
#endif
|
||||
|
@ -318,6 +342,8 @@ MOZCE_SHUNT_API UINT mozce_GetSystemDirectoryA(LPSTR inBuffer, UINT inSize)
|
|||
|
||||
MOZCE_SHUNT_API LONG mozce_RegOpenKeyExA(HKEY inKey, LPCSTR inSubKey, DWORD inOptions, REGSAM inSAM, PHKEY outResult)
|
||||
{
|
||||
MOZCE_PRECHECK
|
||||
|
||||
#ifdef DEBUG
|
||||
mozce_printf("mozce_RegOpenKeyExA called\n");
|
||||
#endif
|
||||
|
@ -336,6 +362,8 @@ MOZCE_SHUNT_API LONG mozce_RegOpenKeyExA(HKEY inKey, LPCSTR inSubKey, DWORD inOp
|
|||
|
||||
MOZCE_SHUNT_API LONG mozce_RegQueryValueExA(HKEY inKey, LPCSTR inValueName, LPDWORD inReserved, LPDWORD outType, LPBYTE inoutBData, LPDWORD inoutDData)
|
||||
{
|
||||
MOZCE_PRECHECK
|
||||
|
||||
#ifdef DEBUG
|
||||
mozce_printf("mozce_RegQueryValueExA called\n");
|
||||
#endif
|
||||
|
@ -379,6 +407,8 @@ MOZCE_SHUNT_API LONG mozce_RegQueryValueExA(HKEY inKey, LPCSTR inValueName, LPDW
|
|||
|
||||
MOZCE_SHUNT_API int mozce_MessageBoxA(HWND inWnd, LPCSTR inText, LPCSTR inCaption, UINT uType)
|
||||
{
|
||||
MOZCE_PRECHECK
|
||||
|
||||
#ifdef DEBUG
|
||||
mozce_printf("mozce_MessageBoxA called\n");
|
||||
#endif
|
||||
|
@ -404,6 +434,8 @@ MOZCE_SHUNT_API int mozce_MessageBoxA(HWND inWnd, LPCSTR inText, LPCSTR inCaptio
|
|||
|
||||
MOZCE_SHUNT_API HANDLE mozce_OpenSemaphoreA(DWORD inDesiredAccess, BOOL inInheritHandle, LPCSTR inName)
|
||||
{
|
||||
MOZCE_PRECHECK
|
||||
|
||||
#ifdef DEBUG
|
||||
mozce_printf("mozce_OpenSemaphoreA called\n");
|
||||
#endif
|
||||
|
@ -424,6 +456,8 @@ MOZCE_SHUNT_API HANDLE mozce_OpenSemaphoreA(DWORD inDesiredAccess, BOOL inInheri
|
|||
|
||||
MOZCE_SHUNT_API HDC mozce_CreateDCA(LPCSTR inDriver, LPCSTR inDevice, LPCSTR inOutput, CONST DEVMODEA* inInitData)
|
||||
{
|
||||
MOZCE_PRECHECK
|
||||
|
||||
#ifdef DEBUG
|
||||
mozce_printf("mozce_CreateDCA called\n");
|
||||
#endif
|
||||
|
@ -489,6 +523,8 @@ MOZCE_SHUNT_API HDC mozce_CreateDCA(LPCSTR inDriver, LPCSTR inDevice, LPCSTR inO
|
|||
|
||||
MOZCE_SHUNT_API HDC mozce_CreateDCA2(LPCSTR inDriver, LPCSTR inDevice, LPCSTR inOutput, CONST DEVMODE* inInitData)
|
||||
{
|
||||
MOZCE_PRECHECK
|
||||
|
||||
#ifdef DEBUG
|
||||
mozce_printf("mozce_CreateDCA2 called\n");
|
||||
#endif
|
||||
|
@ -522,6 +558,8 @@ MOZCE_SHUNT_API HDC mozce_CreateDCA2(LPCSTR inDriver, LPCSTR inDevice, LPCSTR in
|
|||
|
||||
MOZCE_SHUNT_API BOOL mozce_GetTextExtentExPointA(HDC inDC, char* inStr, int inLen, int inMaxExtent, LPINT outFit, LPINT outDx, LPSIZE inSize)
|
||||
{
|
||||
MOZCE_PRECHECK
|
||||
|
||||
#ifdef DEBUG
|
||||
mozce_printf("mozce_GetTextExtentExPointA called (%d)\n", inLen);
|
||||
#endif
|
||||
|
@ -547,6 +585,8 @@ MOZCE_SHUNT_API BOOL mozce_GetTextExtentExPointA(HDC inDC, char* inStr, int inLe
|
|||
|
||||
MOZCE_SHUNT_API BOOL mozce_ExtTextOutA(HDC inDC, int inX, int inY, UINT inOptions, const LPRECT inRect, LPCSTR inString, UINT inCount, const LPINT inDx)
|
||||
{
|
||||
MOZCE_PRECHECK
|
||||
|
||||
#ifdef DEBUG
|
||||
mozce_printf("mozce_ExtTextOutA called\n");
|
||||
#endif
|
||||
|
@ -568,6 +608,8 @@ MOZCE_SHUNT_API BOOL mozce_ExtTextOutA(HDC inDC, int inX, int inY, UINT inOption
|
|||
}
|
||||
MOZCE_SHUNT_API DWORD mozce_GetGlyphOutlineA(HDC inDC, CHAR inChar, UINT inFormat, void* inGM, DWORD inBufferSize, LPVOID outBuffer, CONST mozce_MAT2* inMAT2)
|
||||
{
|
||||
MOZCE_PRECHECK
|
||||
|
||||
#ifdef DEBUG
|
||||
mozce_printf("-- mozce_GetGlyphOutlineA called\n");
|
||||
#endif
|
||||
|
@ -581,6 +623,8 @@ MOZCE_SHUNT_API DWORD mozce_GetGlyphOutlineA(HDC inDC, CHAR inChar, UINT inForma
|
|||
|
||||
MOZCE_SHUNT_API DWORD mozce_GetCurrentDirectoryA(DWORD inBufferLength, LPSTR outBuffer)
|
||||
{
|
||||
MOZCE_PRECHECK
|
||||
|
||||
#ifdef DEBUG
|
||||
mozce_printf("-- mozce_GetCurrentDirectoryA called\n");
|
||||
#endif
|
||||
|
@ -599,6 +643,8 @@ MOZCE_SHUNT_API DWORD mozce_GetCurrentDirectoryA(DWORD inBufferLength, LPSTR out
|
|||
|
||||
MOZCE_SHUNT_API BOOL mozce_SetCurrentDirectoryA(LPCSTR inPathName)
|
||||
{
|
||||
MOZCE_PRECHECK
|
||||
|
||||
#ifdef DEBUG
|
||||
mozce_printf("-- mozce_SetCurrentDirectoryA called\n");
|
||||
#endif
|
||||
|
@ -611,6 +657,8 @@ MOZCE_SHUNT_API BOOL mozce_SetCurrentDirectoryA(LPCSTR inPathName)
|
|||
|
||||
MOZCE_SHUNT_API LONG mozce_RegEnumKeyExA(HKEY inKey, DWORD inIndex, LPSTR outName, LPDWORD inoutName, LPDWORD inReserved, LPSTR outClass, LPDWORD inoutClass, PFILETIME inLastWriteTime)
|
||||
{
|
||||
MOZCE_PRECHECK
|
||||
|
||||
#ifdef DEBUG
|
||||
mozce_printf("mozce_RegEnumKeyExA called\n");
|
||||
#endif
|
||||
|
@ -656,6 +704,8 @@ MOZCE_SHUNT_API LONG mozce_RegEnumKeyExA(HKEY inKey, DWORD inIndex, LPSTR outNam
|
|||
|
||||
MOZCE_SHUNT_API BOOL mozce_GetFileVersionInfoA(LPSTR inFilename, DWORD inHandle, DWORD inLen, LPVOID outData)
|
||||
{
|
||||
MOZCE_PRECHECK
|
||||
|
||||
#ifdef DEBUG
|
||||
mozce_printf("mozce_GetFileVersionInfoA called\n");
|
||||
#endif
|
||||
|
@ -673,6 +723,8 @@ MOZCE_SHUNT_API BOOL mozce_GetFileVersionInfoA(LPSTR inFilename, DWORD inHandle,
|
|||
|
||||
MOZCE_SHUNT_API DWORD mozce_GetFileVersionInfoSizeA(LPSTR inFilename, LPDWORD outHandle)
|
||||
{
|
||||
MOZCE_PRECHECK
|
||||
|
||||
#ifdef DEBUG
|
||||
mozce_printf("mozce_GetFileVersionInfoSizeA called\n");
|
||||
#endif
|
||||
|
@ -691,6 +743,8 @@ MOZCE_SHUNT_API DWORD mozce_GetFileVersionInfoSizeA(LPSTR inFilename, LPDWORD ou
|
|||
|
||||
MOZCE_SHUNT_API BOOL mozce_VerQueryValueA(const LPVOID inBlock, LPSTR inSubBlock, LPVOID *outBuffer, PUINT outLen)
|
||||
{
|
||||
MOZCE_PRECHECK
|
||||
|
||||
#ifdef DEBUG
|
||||
mozce_printf("mozce_VerQueryValueA called\n");
|
||||
#endif
|
||||
|
@ -710,6 +764,8 @@ MOZCE_SHUNT_API BOOL mozce_VerQueryValueA(const LPVOID inBlock, LPSTR inSubBlock
|
|||
|
||||
MOZCE_SHUNT_API int mozce_LoadStringA(HINSTANCE inInstance, UINT inID, LPSTR outBuffer, int inBufferMax)
|
||||
{
|
||||
MOZCE_PRECHECK
|
||||
|
||||
#ifdef DEBUG
|
||||
mozce_printf("mozce_LoadStringA called\n");
|
||||
#endif
|
||||
|
@ -736,6 +792,8 @@ MOZCE_SHUNT_API int mozce_LoadStringA(HINSTANCE inInstance, UINT inID, LPSTR out
|
|||
|
||||
MOZCE_SHUNT_API VOID mozce_OutputDebugStringA(LPCSTR inOutputString)
|
||||
{
|
||||
MOZCE_PRECHECK
|
||||
|
||||
#ifdef DEBUG
|
||||
mozce_printf("mozce_OutputDebugStringA called\n");
|
||||
#endif
|
||||
|
@ -753,6 +811,8 @@ MOZCE_SHUNT_API VOID mozce_OutputDebugStringA(LPCSTR inOutputString)
|
|||
|
||||
MOZCE_SHUNT_API int mozce_DrawTextA(HDC inDC, LPCSTR inString, int inCount, LPRECT inRect, UINT inFormat)
|
||||
{
|
||||
MOZCE_PRECHECK
|
||||
|
||||
#ifdef DEBUG
|
||||
mozce_printf("mozce_DrawTextA called\n");
|
||||
#endif
|
||||
|
@ -772,6 +832,8 @@ MOZCE_SHUNT_API int mozce_DrawTextA(HDC inDC, LPCSTR inString, int inCount, LPRE
|
|||
|
||||
MOZCE_SHUNT_API BOOL mozce_SetDlgItemTextA(HWND inDlg, int inIDDlgItem, LPCSTR inString)
|
||||
{
|
||||
MOZCE_PRECHECK
|
||||
|
||||
#ifdef DEBUG
|
||||
mozce_printf("mozce_SetDlgItemTextA called\n");
|
||||
#endif
|
||||
|
@ -790,6 +852,8 @@ MOZCE_SHUNT_API BOOL mozce_SetDlgItemTextA(HWND inDlg, int inIDDlgItem, LPCSTR i
|
|||
|
||||
MOZCE_SHUNT_API HANDLE mozce_LoadImageA(HINSTANCE inInst, LPCSTR inName, UINT inType, int inCX, int inCY, UINT inLoad)
|
||||
{
|
||||
MOZCE_PRECHECK
|
||||
|
||||
#ifdef DEBUG
|
||||
mozce_printf("mozce_LoadImageA called\n");
|
||||
#endif
|
||||
|
@ -809,6 +873,8 @@ MOZCE_SHUNT_API HANDLE mozce_LoadImageA(HINSTANCE inInst, LPCSTR inName, UINT in
|
|||
|
||||
MOZCE_SHUNT_API HWND mozce_FindWindowA(LPCSTR inClass, LPCSTR inWindow)
|
||||
{
|
||||
MOZCE_PRECHECK
|
||||
|
||||
#ifdef DEBUG
|
||||
mozce_printf("mozce_FindWindowA called\n");
|
||||
#endif
|
||||
|
@ -840,6 +906,8 @@ MOZCE_SHUNT_API HWND mozce_FindWindowA(LPCSTR inClass, LPCSTR inWindow)
|
|||
|
||||
MOZCE_SHUNT_API UINT mozce_RegisterClipboardFormatA(LPCSTR inFormat)
|
||||
{
|
||||
MOZCE_PRECHECK
|
||||
|
||||
#ifdef DEBUG
|
||||
mozce_printf("mozce_RegisterClipboardFormatA called\n");
|
||||
#endif
|
||||
|
@ -859,6 +927,8 @@ MOZCE_SHUNT_API UINT mozce_RegisterClipboardFormatA(LPCSTR inFormat)
|
|||
|
||||
MOZCE_SHUNT_API DWORD mozce_GetEnvironmentVariableA(LPSTR lpName, LPSTR lpBuffer, DWORD nSize)
|
||||
{
|
||||
MOZCE_PRECHECK
|
||||
|
||||
#ifdef DEBUG
|
||||
mozce_printf("-- mozce_GetEnvironmentVariableA called\n");
|
||||
#endif
|
||||
|
@ -872,6 +942,8 @@ MOZCE_SHUNT_API DWORD mozce_GetEnvironmentVariableA(LPSTR lpName, LPSTR lpBuffer
|
|||
|
||||
MOZCE_SHUNT_API DWORD mozce_SetEnvironmentVariableA(LPSTR lpName, LPSTR lpBuffer)
|
||||
{
|
||||
MOZCE_PRECHECK
|
||||
|
||||
#ifdef DEBUG
|
||||
mozce_printf("-- mozce_SetEnvironmentVariableA called\n");
|
||||
#endif
|
||||
|
@ -886,6 +958,8 @@ MOZCE_SHUNT_API DWORD mozce_SetEnvironmentVariableA(LPSTR lpName, LPSTR lpBuffer
|
|||
|
||||
MOZCE_SHUNT_API LRESULT mozce_SendMessageA(HWND hWnd, UINT msg, WPARAM wParam, LPARAM lParam)
|
||||
{
|
||||
MOZCE_PRECHECK
|
||||
|
||||
#ifdef DEBUG
|
||||
mozce_printf("mozce_SendMessageA called\n");
|
||||
#endif
|
||||
|
@ -958,6 +1032,8 @@ MOZCE_SHUNT_API LRESULT mozce_SendMessageA(HWND hWnd, UINT msg, WPARAM wParam, L
|
|||
|
||||
MOZCE_SHUNT_API ATOM mozce_GlobalAddAtomA(LPCSTR lpString)
|
||||
{
|
||||
MOZCE_PRECHECK
|
||||
|
||||
#ifdef DEBUG
|
||||
mozce_printf("mozce_GlobalAddAtomA called (%s)\n", lpString);
|
||||
#endif
|
||||
|
@ -974,6 +1050,8 @@ MOZCE_SHUNT_API ATOM mozce_GlobalAddAtomA(LPCSTR lpString)
|
|||
|
||||
MOZCE_SHUNT_API LRESULT mozce_PostMessageA(HWND hWnd, UINT msg, WPARAM wParam, LPARAM lParam)
|
||||
{
|
||||
MOZCE_PRECHECK
|
||||
|
||||
#ifdef DEBUG
|
||||
mozce_printf("mozce_PostMessageA called\n");
|
||||
#endif
|
||||
|
@ -983,6 +1061,8 @@ MOZCE_SHUNT_API LRESULT mozce_PostMessageA(HWND hWnd, UINT msg, WPARAM wParam, L
|
|||
|
||||
MOZCE_SHUNT_API BOOL mozce_GetVersionExA(LPOSVERSIONINFOA lpv)
|
||||
{
|
||||
MOZCE_PRECHECK
|
||||
|
||||
#ifdef DEBUG
|
||||
mozce_printf("mozce_GetVersionExA called\n");
|
||||
#endif
|
||||
|
@ -1000,6 +1080,8 @@ MOZCE_SHUNT_API BOOL mozce_GetVersionExA(LPOSVERSIONINFOA lpv)
|
|||
|
||||
MOZCE_SHUNT_API BOOL mozce_PeekMessageA(LPMSG lpMsg, HWND hWnd, UINT wMsgFilterMin, UINT wMsgFilterMax, UINT wRemoveMsg)
|
||||
{
|
||||
MOZCE_PRECHECK
|
||||
|
||||
#ifdef LOUD_PEEKMESSAGE
|
||||
#ifdef DEBUG
|
||||
mozce_printf("mozce_PeekMessageA called\n");
|
||||
|
@ -1012,6 +1094,8 @@ MOZCE_SHUNT_API BOOL mozce_PeekMessageA(LPMSG lpMsg, HWND hWnd, UINT wMsgFilterM
|
|||
|
||||
MOZCE_SHUNT_API LRESULT mozce_DefWindowProcA(HWND hWnd, UINT Msg, WPARAM wParam, LPARAM lParam)
|
||||
{
|
||||
MOZCE_PRECHECK
|
||||
|
||||
#ifdef DEBUG
|
||||
mozce_printf("mozce_DefWindowProcA called\n");
|
||||
#endif
|
||||
|
@ -1021,7 +1105,7 @@ MOZCE_SHUNT_API LRESULT mozce_DefWindowProcA(HWND hWnd, UINT Msg, WPARAM wParam,
|
|||
|
||||
|
||||
MOZCE_SHUNT_API HWND mozce_CreateWindowExA(DWORD dwExStyle,
|
||||
LPCSTR lpClassName,
|
||||
LPCSTR lpClassName,
|
||||
LPCSTR lpWindowName,
|
||||
DWORD dwStyle,
|
||||
int x, int y,
|
||||
|
@ -1075,6 +1159,8 @@ MOZCE_SHUNT_API HWND mozce_CreateWindowExA(DWORD dwExStyle,
|
|||
|
||||
MOZCE_SHUNT_API ATOM mozce_RegisterClassA(CONST WNDCLASSA *lpwc)
|
||||
{
|
||||
MOZCE_PRECHECK
|
||||
|
||||
#ifdef DEBUG
|
||||
mozce_printf("mozce_RegisterClassA called (%s)\n", lpwc->lpszClassName);
|
||||
#endif
|
||||
|
@ -1091,6 +1177,8 @@ MOZCE_SHUNT_API ATOM mozce_RegisterClassA(CONST WNDCLASSA *lpwc)
|
|||
|
||||
MOZCE_SHUNT_API BOOL mozce_UnregisterClassA(LPCSTR lpClassName, HINSTANCE hInstance)
|
||||
{
|
||||
MOZCE_PRECHECK
|
||||
|
||||
#ifdef DEBUG
|
||||
mozce_printf("mozce_UnregisterClassA called\n");
|
||||
#endif
|
||||
|
@ -1101,6 +1189,8 @@ MOZCE_SHUNT_API BOOL mozce_UnregisterClassA(LPCSTR lpClassName, HINSTANCE hInsta
|
|||
}
|
||||
MOZCE_SHUNT_API UINT mozce_RegisterWindowMessageA(LPCSTR s)
|
||||
{
|
||||
MOZCE_PRECHECK
|
||||
|
||||
#ifdef DEBUG
|
||||
mozce_printf("mozce_RegisterWindowMessageA called\n");
|
||||
#endif
|
||||
|
@ -1114,6 +1204,8 @@ MOZCE_SHUNT_API UINT mozce_RegisterWindowMessageA(LPCSTR s)
|
|||
|
||||
MOZCE_SHUNT_API BOOL mozce_GetClassInfoA(HINSTANCE hInstance, LPCSTR lpClassName, LPWNDCLASS lpWndClass)
|
||||
{
|
||||
MOZCE_PRECHECK
|
||||
|
||||
#ifdef DEBUG
|
||||
mozce_printf("mozce_GetClassInfoA called\n");
|
||||
#endif
|
||||
|
@ -1127,6 +1219,8 @@ MOZCE_SHUNT_API BOOL mozce_GetClassInfoA(HINSTANCE hInstance, LPCSTR lpClassName
|
|||
|
||||
MOZCE_SHUNT_API HINSTANCE mozce_LoadLibraryA(LPCSTR lpLibFileName)
|
||||
{
|
||||
MOZCE_PRECHECK
|
||||
|
||||
#ifdef DEBUG
|
||||
mozce_printf("mozce_LoadLibraryA called (%s)\n", lpLibFileName);
|
||||
#endif
|
||||
|
@ -1151,6 +1245,8 @@ MOZCE_SHUNT_API HINSTANCE mozce_LoadLibraryA(LPCSTR lpLibFileName)
|
|||
|
||||
MOZCE_SHUNT_API int mozce_GetObjectA(HGDIOBJ hgdiobj, int cbBuffer, LPVOID lpvObject)
|
||||
{
|
||||
MOZCE_PRECHECK
|
||||
|
||||
#ifdef DEBUG
|
||||
mozce_printf("mozce_GetObjectA called\n");
|
||||
#endif
|
||||
|
@ -1173,6 +1269,8 @@ MOZCE_SHUNT_API int mozce_GetObjectA(HGDIOBJ hgdiobj, int cbBuffer, LPVOID lpvOb
|
|||
|
||||
MOZCE_SHUNT_API FARPROC mozce_GetProcAddressA(HMODULE hMod, const char *name)
|
||||
{
|
||||
MOZCE_PRECHECK
|
||||
|
||||
#ifdef DEBUG
|
||||
mozce_printf("mozce_GetProcAddressA called (%s)\n", name);
|
||||
#endif
|
||||
|
@ -1192,6 +1290,8 @@ MOZCE_SHUNT_API FARPROC mozce_GetProcAddressA(HMODULE hMod, const char *name)
|
|||
|
||||
MOZCE_SHUNT_API HCURSOR mozce_LoadCursorA(HINSTANCE hInstance, LPCSTR lpCursorName)
|
||||
{
|
||||
MOZCE_PRECHECK
|
||||
|
||||
#ifdef DEBUG
|
||||
mozce_printf("mozce_LoadCursorA called\n");
|
||||
#endif
|
||||
|
@ -1219,6 +1319,8 @@ MOZCE_SHUNT_API HCURSOR mozce_LoadCursorA(HINSTANCE hInstance, LPCSTR lpCursorNa
|
|||
|
||||
MOZCE_SHUNT_API int mozce_GetClassNameA(HWND hWnd, LPTSTR lpClassName, int nMaxCount)
|
||||
{
|
||||
MOZCE_PRECHECK
|
||||
|
||||
#ifdef DEBUG
|
||||
mozce_printf("mozce_GetClassNameA called\n");
|
||||
#endif
|
||||
|
@ -1237,6 +1339,8 @@ MOZCE_SHUNT_API int mozce_GetClassNameA(HWND hWnd, LPTSTR lpClassName, int nMaxC
|
|||
|
||||
MOZCE_SHUNT_API BOOL mozce_GetOpenFileNameA(LPOPENFILENAMEA lpofna)
|
||||
{
|
||||
MOZCE_PRECHECK
|
||||
|
||||
#ifdef DEBUG
|
||||
mozce_printf("-- mozce_GetOpenFileNameA called\n");
|
||||
#endif
|
||||
|
@ -1247,6 +1351,8 @@ MOZCE_SHUNT_API BOOL mozce_GetOpenFileNameA(LPOPENFILENAMEA lpofna)
|
|||
|
||||
MOZCE_SHUNT_API BOOL mozce_GetSaveFileNameA(LPOPENFILENAMEA lpofna)
|
||||
{
|
||||
MOZCE_PRECHECK
|
||||
|
||||
#ifdef DEBUG
|
||||
mozce_printf("-- mozce_GetSaveFileNameA called\n");
|
||||
#endif
|
||||
|
@ -1258,6 +1364,8 @@ MOZCE_SHUNT_API BOOL mozce_GetSaveFileNameA(LPOPENFILENAMEA lpofna)
|
|||
|
||||
MOZCE_SHUNT_API HMODULE mozce_GetModuleHandleA(const char *lpName)
|
||||
{
|
||||
MOZCE_PRECHECK
|
||||
|
||||
#ifdef DEBUG
|
||||
mozce_printf("mozce_GetModuleHandleA called (%s)\n", lpName);
|
||||
#endif
|
||||
|
@ -1274,6 +1382,8 @@ MOZCE_SHUNT_API HMODULE mozce_GetModuleHandleA(const char *lpName)
|
|||
|
||||
MOZCE_SHUNT_API HICON mozce_LoadIconA(HINSTANCE hInstance, LPCSTR lpIconName)
|
||||
{
|
||||
MOZCE_PRECHECK
|
||||
|
||||
#ifdef DEBUG
|
||||
mozce_printf("mozce_LoadIconA called\n");
|
||||
#endif
|
||||
|
@ -1297,6 +1407,8 @@ MOZCE_SHUNT_API HICON mozce_LoadIconA(HINSTANCE hInstance, LPCSTR lpIconName)
|
|||
|
||||
MOZCE_SHUNT_API HRSRC mozce_FindResourceA(HMODULE hModule, LPCSTR lpName, LPCSTR lpType)
|
||||
{
|
||||
MOZCE_PRECHECK
|
||||
|
||||
HRSRC hr;
|
||||
if (! IS_INTRESOURCE(lpName) && IS_INTRESOURCE(lpType))
|
||||
{
|
||||
|
@ -1321,6 +1433,8 @@ MOZCE_SHUNT_API HRSRC mozce_FindResourceA(HMODULE hModule, LPCSTR lpName, LPCS
|
|||
|
||||
MOZCE_SHUNT_API UINT mozce_GetDlgItemTextA(HWND hDlg, int nIDDlgItem, LPSTR lpString, int nMaxCount)
|
||||
{
|
||||
MOZCE_PRECHECK
|
||||
|
||||
#ifdef DEBUG
|
||||
mozce_printf("mozce_GetDlgItemTextA called\n");
|
||||
#endif
|
||||
|
@ -1340,6 +1454,8 @@ MOZCE_SHUNT_API UINT mozce_GetDlgItemTextA(HWND hDlg, int nIDDlgItem, LPSTR lpSt
|
|||
|
||||
MOZCE_SHUNT_API HANDLE mozce_CreateEventA(LPSECURITY_ATTRIBUTES lpEventAttributes, BOOL bManualReset, BOOL bInitialState, const char *lpName)
|
||||
{
|
||||
MOZCE_PRECHECK
|
||||
|
||||
#ifdef DEBUG
|
||||
mozce_printf("mozce_CreateEventA called\n");
|
||||
#endif
|
||||
|
@ -1365,6 +1481,8 @@ MOZCE_SHUNT_API HANDLE mozce_CreateEventA(LPSECURITY_ATTRIBUTES lpEventAttribute
|
|||
|
||||
MOZCE_SHUNT_API HMENU mozce_LoadMenuA(HINSTANCE hInstance, LPCSTR lpMenuName)
|
||||
{
|
||||
MOZCE_PRECHECK
|
||||
|
||||
#ifdef DEBUG
|
||||
mozce_printf("mozce_LoadMenuA called\n");
|
||||
#endif
|
||||
|
@ -1388,6 +1506,8 @@ MOZCE_SHUNT_API HMENU mozce_LoadMenuA(HINSTANCE hInstance, LPCSTR lpMenuName)
|
|||
|
||||
MOZCE_SHUNT_API HANDLE mozce_GetPropA(HWND hWnd, LPCSTR lpString)
|
||||
{
|
||||
MOZCE_PRECHECK
|
||||
|
||||
#ifdef DEBUG
|
||||
mozce_printf("mozce_GetPropA called\n");
|
||||
#endif
|
||||
|
@ -1407,6 +1527,8 @@ MOZCE_SHUNT_API HANDLE mozce_GetPropA(HWND hWnd, LPCSTR lpString)
|
|||
|
||||
MOZCE_SHUNT_API BOOL mozce_SetPropA(HWND hWnd, LPCSTR lpString, HANDLE hData)
|
||||
{
|
||||
MOZCE_PRECHECK
|
||||
|
||||
#ifdef DEBUG
|
||||
mozce_printf("mozce_SetPropA called\n");
|
||||
#endif
|
||||
|
@ -1428,6 +1550,8 @@ MOZCE_SHUNT_API BOOL mozce_SetPropA(HWND hWnd, LPCSTR lpString, HANDLE hData)
|
|||
|
||||
MOZCE_SHUNT_API HANDLE mozce_RemovePropA(HWND hWnd, LPCSTR lpString)
|
||||
{
|
||||
MOZCE_PRECHECK
|
||||
|
||||
#ifdef DEBUG
|
||||
mozce_printf("mozce_RemovePropA called\n");
|
||||
#endif
|
||||
|
@ -1448,6 +1572,8 @@ MOZCE_SHUNT_API HANDLE mozce_RemovePropA(HWND hWnd, LPCSTR lpString)
|
|||
|
||||
MOZCE_SHUNT_API HANDLE mozce_FindFirstFileA(LPCSTR lpFileName, LPWIN32_FIND_DATAA lpFindFileData)
|
||||
{
|
||||
MOZCE_PRECHECK
|
||||
|
||||
#ifdef DEBUG
|
||||
mozce_printf("mozce_FindFirstFileA called\n");
|
||||
#endif
|
||||
|
@ -1484,6 +1610,8 @@ MOZCE_SHUNT_API HANDLE mozce_FindFirstFileA(LPCSTR lpFileName, LPWIN32_FIND_DATA
|
|||
|
||||
MOZCE_SHUNT_API BOOL mozce_FindNextFileA(HANDLE hFindFile, LPWIN32_FIND_DATAA lpFindFileData)
|
||||
{
|
||||
MOZCE_PRECHECK
|
||||
|
||||
#ifdef DEBUG
|
||||
mozce_printf("mozce_FindNextFileA called\n");
|
||||
#endif
|
||||
|
@ -1519,6 +1647,8 @@ MOZCE_SHUNT_API BOOL mozce_FindNextFileA(HANDLE hFindFile, LPWIN32_FIND_DATAA lp
|
|||
|
||||
MOZCE_SHUNT_API HANDLE mozce_CreateFileMappingA(HANDLE hFile, LPSECURITY_ATTRIBUTES lpFileMappingAttributes, DWORD flProtect, DWORD dwMaximumSizeHigh, DWORD dwMaximumSizeLow, LPCSTR lpName)
|
||||
{
|
||||
MOZCE_PRECHECK
|
||||
|
||||
#ifdef DEBUG
|
||||
mozce_printf("mozce_CreateFileMappingA called\n");
|
||||
#endif
|
||||
|
@ -1535,6 +1665,8 @@ MOZCE_SHUNT_API HANDLE mozce_CreateFileMappingA(HANDLE hFile, LPSECURITY_ATTRIBU
|
|||
|
||||
MOZCE_SHUNT_API DWORD mozce_FormatMessageA(DWORD dwFlags, LPCVOID lpSource, DWORD dwMessageId, DWORD dwLanguageId, LPSTR lpBuffer, DWORD nSize, va_list* Arguments)
|
||||
{
|
||||
MOZCE_PRECHECK
|
||||
|
||||
#ifdef DEBUG
|
||||
mozce_printf("mozce_FormatMessageA called\n");
|
||||
#endif
|
||||
|
@ -1550,6 +1682,8 @@ MOZCE_SHUNT_API DWORD mozce_FormatMessageA(DWORD dwFlags, LPCVOID lpSource, DWOR
|
|||
|
||||
MOZCE_SHUNT_API HANDLE mozce_CreateSemaphoreA(LPSECURITY_ATTRIBUTES lpSemaphoreAttributes, LONG lInitialCount, LONG lMaximumCount, LPCSTR lpName)
|
||||
{
|
||||
MOZCE_PRECHECK
|
||||
|
||||
#ifdef DEBUG
|
||||
mozce_printf("mozce_CreateSemaphoreA called\n");
|
||||
#endif
|
||||
|
@ -1569,6 +1703,8 @@ MOZCE_SHUNT_API HANDLE mozce_CreateSemaphoreA(LPSECURITY_ATTRIBUTES lpSemaphoreA
|
|||
|
||||
MOZCE_SHUNT_API int mozce_StartDocA(HDC hdc, CONST DOCINFO* lpdi)
|
||||
{
|
||||
MOZCE_PRECHECK
|
||||
|
||||
#ifdef DEBUG
|
||||
mozce_printf("-- mozce_StartDocA called\n");
|
||||
#endif
|
||||
|
@ -1582,6 +1718,8 @@ MOZCE_SHUNT_API int mozce_StartDocA(HDC hdc, CONST DOCINFO* lpdi)
|
|||
|
||||
MOZCE_SHUNT_API HFONT mozce_CreateFontIndirectA(CONST LOGFONTA* lplf)
|
||||
{
|
||||
MOZCE_PRECHECK
|
||||
|
||||
#ifdef DEBUG
|
||||
mozce_printf("mozce_CreateFontIndirectA called\n");
|
||||
#endif
|
||||
|
@ -1615,6 +1753,8 @@ MOZCE_SHUNT_API HFONT mozce_CreateFontIndirectA(CONST LOGFONTA* lplf)
|
|||
|
||||
MOZCE_SHUNT_API int mozce_EnumFontFamiliesA(HDC hdc, LPCTSTR lpszFamily, FONTENUMPROC lpEnumFontFamProc, LPARAM lParam)
|
||||
{
|
||||
MOZCE_PRECHECK
|
||||
|
||||
#ifdef DEBUG
|
||||
mozce_printf("-- mozce_EnumFontFamilies called\n");
|
||||
#endif
|
||||
|
@ -1624,6 +1764,8 @@ MOZCE_SHUNT_API int mozce_EnumFontFamiliesA(HDC hdc, LPCTSTR lpszFamily, FONTENU
|
|||
|
||||
MOZCE_SHUNT_API int mozce_GetTextFaceA(HDC hdc, int nCount, LPSTR lpFaceName)
|
||||
{
|
||||
MOZCE_PRECHECK
|
||||
|
||||
#ifdef DEBUG
|
||||
mozce_printf("mozce_GetTextFaceA called\n");
|
||||
#endif
|
||||
|
@ -1654,6 +1796,8 @@ MOZCE_SHUNT_API int mozce_GetTextFaceA(HDC hdc, int nCount, LPSTR lpFaceName)
|
|||
|
||||
MOZCE_SHUNT_API BOOL mozce_GetTextMetricsA(HDC hdc, LPTEXTMETRICA lptma)
|
||||
{
|
||||
MOZCE_PRECHECK
|
||||
|
||||
#ifdef DEBUG
|
||||
mozce_printf("mozce_GetTextMetricsA called\n");
|
||||
#endif
|
||||
|
|
|
@ -53,6 +53,8 @@ extern "C" {
|
|||
|
||||
MOZCE_SHUNT_API UINT mozce_GetWindowsDirectoryW(LPWSTR inBuffer, UINT inSize)
|
||||
{
|
||||
MOZCE_PRECHECK
|
||||
|
||||
#ifdef DEBUG
|
||||
mozce_printf("mozce_GetWindowsDirectoryW called\n");
|
||||
#endif
|
||||
|
@ -75,6 +77,8 @@ MOZCE_SHUNT_API UINT mozce_GetWindowsDirectoryW(LPWSTR inBuffer, UINT inSize)
|
|||
|
||||
MOZCE_SHUNT_API UINT mozce_GetSystemDirectoryW(LPWSTR inBuffer, UINT inSize)
|
||||
{
|
||||
MOZCE_PRECHECK
|
||||
|
||||
#ifdef DEBUG
|
||||
mozce_printf("mozce_GetSystemDirectoryW called\n");
|
||||
#endif
|
||||
|
@ -97,6 +101,8 @@ MOZCE_SHUNT_API UINT mozce_GetSystemDirectoryW(LPWSTR inBuffer, UINT inSize)
|
|||
|
||||
MOZCE_SHUNT_API HANDLE mozce_OpenSemaphoreW(DWORD inDesiredAccess, BOOL inInheritHandle, LPCWSTR inName)
|
||||
{
|
||||
MOZCE_PRECHECK
|
||||
|
||||
#ifdef DEBUG
|
||||
mozce_printf("mozce_OpenSemaphoreW called\n");
|
||||
#endif
|
||||
|
@ -125,6 +131,8 @@ MOZCE_SHUNT_API HANDLE mozce_OpenSemaphoreW(DWORD inDesiredAccess, BOOL inInheri
|
|||
|
||||
MOZCE_SHUNT_API DWORD mozce_GetGlyphOutlineW(HDC inDC, WCHAR inChar, UINT inFormat, void* inGM, DWORD inBufferSize, LPVOID outBuffer, CONST mozce_MAT2* inMAT2)
|
||||
{
|
||||
MOZCE_PRECHECK
|
||||
|
||||
#ifdef DEBUG
|
||||
mozce_printf("mozce_GetGlyphOutlineW called\n");
|
||||
#endif
|
||||
|
@ -139,6 +147,8 @@ MOZCE_SHUNT_API DWORD mozce_GetGlyphOutlineW(HDC inDC, WCHAR inChar, UINT inForm
|
|||
|
||||
MOZCE_SHUNT_API DWORD mozce_GetCurrentDirectoryW(DWORD inBufferLength, LPTSTR outBuffer)
|
||||
{
|
||||
MOZCE_PRECHECK
|
||||
|
||||
#ifdef DEBUG
|
||||
mozce_printf("mozce_GetCurrentDirectoryW called\n");
|
||||
#endif
|
||||
|
@ -158,6 +168,8 @@ MOZCE_SHUNT_API DWORD mozce_GetCurrentDirectoryW(DWORD inBufferLength, LPTSTR ou
|
|||
|
||||
MOZCE_SHUNT_API BOOL mozce_SetCurrentDirectoryW(LPCTSTR inPathName)
|
||||
{
|
||||
MOZCE_PRECHECK
|
||||
|
||||
#ifdef DEBUG
|
||||
mozce_printf("mozce_SetCurrentDirectoryW called\n");
|
||||
#endif
|
||||
|
|
Загрузка…
Ссылка в новой задаче