path: root/loader/win32.h
diff options
authoralex <alex@b3059339-0415-0410-9bf9-f77b7e298cf2>2001-12-10 15:57:11 +0000
committeralex <alex@b3059339-0415-0410-9bf9-f77b7e298cf2>2001-12-10 15:57:11 +0000
commit79ea05626fcd7aeff663aa9ee1cb9e29240bbb72 (patch)
tree09d978a57eb6fc42d26c20b37f4a8404a9628dd0 /loader/win32.h
parent6dccfe832a22aea7eb2448234e6844969036f02d (diff)
added new prototypes from win32.c
git-svn-id: svn:// b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'loader/win32.h')
1 files changed, 17 insertions, 0 deletions
diff --git a/loader/win32.h b/loader/win32.h
index 8c67f3365e..9a8dd72724 100644
--- a/loader/win32.h
+++ b/loader/win32.h
@@ -68,6 +68,7 @@ extern void* WINAPI expLocalReAlloc(int handle,int size,int flags);
extern void* WINAPI expLocalLock(void* z);
extern void* WINAPI expGlobalAlloc(int flags, int size);
extern void* WINAPI expGlobalLock(void* z);
+extern int WINAPI expGlobalSize(void* amem);
extern int WINAPI expLoadStringA(long instance, long id, void* buf, long size);
extern long WINAPI expMultiByteToWideChar(long v1, long v2, char* s1, long siz1, short* s2, int siz2);
extern long WINAPI expWideCharToMultiByte(long v1, long v2, short* s1, long siz1, char* s2, int siz2, char* c3, int* siz3);
@@ -126,6 +127,8 @@ extern void* WINAPI expSleep(int time);
extern void* WINAPI expCreateCompatibleDC(int hdc);
extern int WINAPI expGetDeviceCaps(int hdc, int unk);
extern WIN_BOOL WINAPI expDeleteDC(int hdc);
+extern void* WINAPI expGetWindowDC(int hdc);
+extern void* WINAPI expCreateFontA(void);
extern int WINAPI expGetPrivateProfileIntA(const char* appname, const char* keyname, int default_value, const char* filename);
extern int WINAPI expGetProfileIntA(const char* appname, const char* keyname, int default_value);
extern int WINAPI expGetPrivateProfileStringA(const char* appname, const char* keyname,
@@ -200,6 +203,20 @@ extern LONG WINAPI explstrcpynA(char* str1, const char* str2,int len);
extern LONG WINAPI explstrcatA(char* str1, const char* str2);
extern LONG WINAPI expInterlockedExchange(long *dest, long l);
void WINAPI expInitCommonControls(void);
+extern HRESULT WINAPI expCoCreateFreeThreadedMarshaler(void *pUnkOuter, void **ppUnkInner);
+extern int WINAPI expDuplicateHandle(
+ HANDLE hSourceProcessHandle, // handle to source process
+ HANDLE hSourceHandle, // handle to duplicate
+ HANDLE hTargetProcessHandle, // handle to target process
+ HANDLE* lpTargetHandle, // duplicate handle
+ DWORD dwDesiredAccess, // requested access
+ int bInheritHandle, // handle inheritance option
+ DWORD dwOptions // optional actions
+extern HRESULT WINAPI expCoInitialize(
+ LPVOID lpReserved /* [in] pointer to win32 malloc interface
+ (obsolete, should be NULL) */
extern void* CDECL expmalloc(int size);