annotate loader/win32.h @ 3195:62d797a16f72

unistd.h required at least by FreeBSD
author nexus
date Thu, 29 Nov 2001 13:43:52 +0000
parents 392316004607
children c85a4768627c
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
1307
d8c1b0b38edc Add prototypes to wine/loader stuff, so that we can catch __stdcall function
jkeil
parents: 1
diff changeset
1 #ifndef loader_win32_h
d8c1b0b38edc Add prototypes to wine/loader stuff, so that we can catch __stdcall function
jkeil
parents: 1
diff changeset
2 #define loader_win32_h
d8c1b0b38edc Add prototypes to wine/loader stuff, so that we can catch __stdcall function
jkeil
parents: 1
diff changeset
3
d8c1b0b38edc Add prototypes to wine/loader stuff, so that we can catch __stdcall function
jkeil
parents: 1
diff changeset
4 #include <time.h>
d8c1b0b38edc Add prototypes to wine/loader stuff, so that we can catch __stdcall function
jkeil
parents: 1
diff changeset
5
d8c1b0b38edc Add prototypes to wine/loader stuff, so that we can catch __stdcall function
jkeil
parents: 1
diff changeset
6 #include <wine/windef.h>
d8c1b0b38edc Add prototypes to wine/loader stuff, so that we can catch __stdcall function
jkeil
parents: 1
diff changeset
7 #include <wine/winbase.h>
d8c1b0b38edc Add prototypes to wine/loader stuff, so that we can catch __stdcall function
jkeil
parents: 1
diff changeset
8 #include <com.h>
d8c1b0b38edc Add prototypes to wine/loader stuff, so that we can catch __stdcall function
jkeil
parents: 1
diff changeset
9
d8c1b0b38edc Add prototypes to wine/loader stuff, so that we can catch __stdcall function
jkeil
parents: 1
diff changeset
10 extern void* my_mreq(int size, int to_zero);
d8c1b0b38edc Add prototypes to wine/loader stuff, so that we can catch __stdcall function
jkeil
parents: 1
diff changeset
11 extern int my_release(void* memory);
2069
ce45cce7f7a5 sync with avifile
arpi
parents: 1307
diff changeset
12 extern void* my_realloc(void *memory,int size);
ce45cce7f7a5 sync with avifile
arpi
parents: 1307
diff changeset
13 extern void my_garbagecollection(void);
1307
d8c1b0b38edc Add prototypes to wine/loader stuff, so that we can catch __stdcall function
jkeil
parents: 1
diff changeset
14
d8c1b0b38edc Add prototypes to wine/loader stuff, so that we can catch __stdcall function
jkeil
parents: 1
diff changeset
15
d8c1b0b38edc Add prototypes to wine/loader stuff, so that we can catch __stdcall function
jkeil
parents: 1
diff changeset
16 typedef struct {
d8c1b0b38edc Add prototypes to wine/loader stuff, so that we can catch __stdcall function
jkeil
parents: 1
diff changeset
17 UINT uDriverSignature;
d8c1b0b38edc Add prototypes to wine/loader stuff, so that we can catch __stdcall function
jkeil
parents: 1
diff changeset
18 HINSTANCE hDriverModule;
d8c1b0b38edc Add prototypes to wine/loader stuff, so that we can catch __stdcall function
jkeil
parents: 1
diff changeset
19 DRIVERPROC DriverProc;
d8c1b0b38edc Add prototypes to wine/loader stuff, so that we can catch __stdcall function
jkeil
parents: 1
diff changeset
20 DWORD dwDriverID;
d8c1b0b38edc Add prototypes to wine/loader stuff, so that we can catch __stdcall function
jkeil
parents: 1
diff changeset
21 } DRVR;
d8c1b0b38edc Add prototypes to wine/loader stuff, so that we can catch __stdcall function
jkeil
parents: 1
diff changeset
22
d8c1b0b38edc Add prototypes to wine/loader stuff, so that we can catch __stdcall function
jkeil
parents: 1
diff changeset
23 typedef DRVR *PDRVR;
d8c1b0b38edc Add prototypes to wine/loader stuff, so that we can catch __stdcall function
jkeil
parents: 1
diff changeset
24 typedef DRVR *NPDRVR;
d8c1b0b38edc Add prototypes to wine/loader stuff, so that we can catch __stdcall function
jkeil
parents: 1
diff changeset
25 typedef DRVR *LPDRVR;
d8c1b0b38edc Add prototypes to wine/loader stuff, so that we can catch __stdcall function
jkeil
parents: 1
diff changeset
26
d8c1b0b38edc Add prototypes to wine/loader stuff, so that we can catch __stdcall function
jkeil
parents: 1
diff changeset
27 typedef struct tls_s tls_t;
d8c1b0b38edc Add prototypes to wine/loader stuff, so that we can catch __stdcall function
jkeil
parents: 1
diff changeset
28
d8c1b0b38edc Add prototypes to wine/loader stuff, so that we can catch __stdcall function
jkeil
parents: 1
diff changeset
29 extern int WINAPI ext_unknown(void);
d8c1b0b38edc Add prototypes to wine/loader stuff, so that we can catch __stdcall function
jkeil
parents: 1
diff changeset
30
d8c1b0b38edc Add prototypes to wine/loader stuff, so that we can catch __stdcall function
jkeil
parents: 1
diff changeset
31 extern int WINAPI expIsBadWritePtr(void* ptr, unsigned int count);
d8c1b0b38edc Add prototypes to wine/loader stuff, so that we can catch __stdcall function
jkeil
parents: 1
diff changeset
32 extern int WINAPI expIsBadReadPtr(void* ptr, unsigned int count);
d8c1b0b38edc Add prototypes to wine/loader stuff, so that we can catch __stdcall function
jkeil
parents: 1
diff changeset
33 extern int WINAPI expDisableThreadLibraryCalls(int module);
2069
ce45cce7f7a5 sync with avifile
arpi
parents: 1307
diff changeset
34 extern HMODULE WINAPI expGetDriverModuleHandle(DRVR* pdrv);
ce45cce7f7a5 sync with avifile
arpi
parents: 1307
diff changeset
35 extern HMODULE WINAPI expGetModuleHandleA(const char* name);
1307
d8c1b0b38edc Add prototypes to wine/loader stuff, so that we can catch __stdcall function
jkeil
parents: 1
diff changeset
36 extern void* WINAPI expCreateThread(void* pSecAttr, long dwStackSize, void* lpStartAddress,
d8c1b0b38edc Add prototypes to wine/loader stuff, so that we can catch __stdcall function
jkeil
parents: 1
diff changeset
37 void* lpParameter, long dwFlags, long* dwThreadId);
d8c1b0b38edc Add prototypes to wine/loader stuff, so that we can catch __stdcall function
jkeil
parents: 1
diff changeset
38 extern void* WINAPI expCreateEventA(void* pSecAttr, char bManualReset,
d8c1b0b38edc Add prototypes to wine/loader stuff, so that we can catch __stdcall function
jkeil
parents: 1
diff changeset
39 char bInitialState, const char* name);
d8c1b0b38edc Add prototypes to wine/loader stuff, so that we can catch __stdcall function
jkeil
parents: 1
diff changeset
40 extern void* WINAPI expSetEvent(void* event);
d8c1b0b38edc Add prototypes to wine/loader stuff, so that we can catch __stdcall function
jkeil
parents: 1
diff changeset
41 extern void* WINAPI expResetEvent(void* event);
d8c1b0b38edc Add prototypes to wine/loader stuff, so that we can catch __stdcall function
jkeil
parents: 1
diff changeset
42 extern void* WINAPI expWaitForSingleObject(void* object, int duration);
d8c1b0b38edc Add prototypes to wine/loader stuff, so that we can catch __stdcall function
jkeil
parents: 1
diff changeset
43 extern WIN_BOOL WINAPI expIsProcessorFeaturePresent(DWORD v);
d8c1b0b38edc Add prototypes to wine/loader stuff, so that we can catch __stdcall function
jkeil
parents: 1
diff changeset
44 extern void WINAPI expGetSystemInfo(SYSTEM_INFO* si);
d8c1b0b38edc Add prototypes to wine/loader stuff, so that we can catch __stdcall function
jkeil
parents: 1
diff changeset
45 extern long WINAPI expGetVersion(void);
d8c1b0b38edc Add prototypes to wine/loader stuff, so that we can catch __stdcall function
jkeil
parents: 1
diff changeset
46 long WINAPI expGetVersionExA(OSVERSIONINFOA* c);
d8c1b0b38edc Add prototypes to wine/loader stuff, so that we can catch __stdcall function
jkeil
parents: 1
diff changeset
47 extern HANDLE WINAPI expHeapCreate(long flags, long init_size, long max_size);
d8c1b0b38edc Add prototypes to wine/loader stuff, so that we can catch __stdcall function
jkeil
parents: 1
diff changeset
48 extern void* WINAPI expHeapAlloc(HANDLE heap, int flags, int size);
d8c1b0b38edc Add prototypes to wine/loader stuff, so that we can catch __stdcall function
jkeil
parents: 1
diff changeset
49 extern long WINAPI expHeapDestroy(void* heap);
d8c1b0b38edc Add prototypes to wine/loader stuff, so that we can catch __stdcall function
jkeil
parents: 1
diff changeset
50 extern long WINAPI expHeapFree(int arg1, int arg2, void* ptr);
2069
ce45cce7f7a5 sync with avifile
arpi
parents: 1307
diff changeset
51 extern void* WINAPI expHeapReAlloc(HANDLE heap,int flags,void* lpMem,int size);
1307
d8c1b0b38edc Add prototypes to wine/loader stuff, so that we can catch __stdcall function
jkeil
parents: 1
diff changeset
52 extern long WINAPI expHeapSize(int heap, int flags, void* pointer);
d8c1b0b38edc Add prototypes to wine/loader stuff, so that we can catch __stdcall function
jkeil
parents: 1
diff changeset
53 extern long WINAPI expGetProcessHeap(void);
d8c1b0b38edc Add prototypes to wine/loader stuff, so that we can catch __stdcall function
jkeil
parents: 1
diff changeset
54 extern void* WINAPI expVirtualAlloc(void* v1, long v2, long v3, long v4);
d8c1b0b38edc Add prototypes to wine/loader stuff, so that we can catch __stdcall function
jkeil
parents: 1
diff changeset
55 extern int WINAPI expVirtualFree(void* v1, int v2, int v3);
d8c1b0b38edc Add prototypes to wine/loader stuff, so that we can catch __stdcall function
jkeil
parents: 1
diff changeset
56 extern void WINAPI expInitializeCriticalSection(CRITICAL_SECTION* c);
d8c1b0b38edc Add prototypes to wine/loader stuff, so that we can catch __stdcall function
jkeil
parents: 1
diff changeset
57 extern void WINAPI expEnterCriticalSection(CRITICAL_SECTION* c);
d8c1b0b38edc Add prototypes to wine/loader stuff, so that we can catch __stdcall function
jkeil
parents: 1
diff changeset
58 extern void WINAPI expLeaveCriticalSection(CRITICAL_SECTION* c);
d8c1b0b38edc Add prototypes to wine/loader stuff, so that we can catch __stdcall function
jkeil
parents: 1
diff changeset
59 extern void WINAPI expDeleteCriticalSection(CRITICAL_SECTION *c);
d8c1b0b38edc Add prototypes to wine/loader stuff, so that we can catch __stdcall function
jkeil
parents: 1
diff changeset
60 extern int WINAPI expGetCurrentThreadId(void);
d8c1b0b38edc Add prototypes to wine/loader stuff, so that we can catch __stdcall function
jkeil
parents: 1
diff changeset
61 extern int WINAPI expGetCurrentProcess(void);
3128
392316004607 avifile sync... maybe broken, tell me if so.
arpi
parents: 2779
diff changeset
62 extern void* WINAPI expTlsAlloc(void);
392316004607 avifile sync... maybe broken, tell me if so.
arpi
parents: 2779
diff changeset
63 extern int WINAPI expTlsSetValue(tls_t* index, void* value);
392316004607 avifile sync... maybe broken, tell me if so.
arpi
parents: 2779
diff changeset
64 extern void* WINAPI expTlsGetValue(tls_t* index);
392316004607 avifile sync... maybe broken, tell me if so.
arpi
parents: 2779
diff changeset
65 extern int WINAPI expTlsFree(tls_t* index);
1307
d8c1b0b38edc Add prototypes to wine/loader stuff, so that we can catch __stdcall function
jkeil
parents: 1
diff changeset
66 extern void* WINAPI expLocalAlloc(int flags, int size);
2069
ce45cce7f7a5 sync with avifile
arpi
parents: 1307
diff changeset
67 extern void* WINAPI expLocalReAlloc(int handle,int size,int flags);
1307
d8c1b0b38edc Add prototypes to wine/loader stuff, so that we can catch __stdcall function
jkeil
parents: 1
diff changeset
68 extern void* WINAPI expLocalLock(void* z);
d8c1b0b38edc Add prototypes to wine/loader stuff, so that we can catch __stdcall function
jkeil
parents: 1
diff changeset
69 extern void* WINAPI expGlobalAlloc(int flags, int size);
d8c1b0b38edc Add prototypes to wine/loader stuff, so that we can catch __stdcall function
jkeil
parents: 1
diff changeset
70 extern void* WINAPI expGlobalLock(void* z);
d8c1b0b38edc Add prototypes to wine/loader stuff, so that we can catch __stdcall function
jkeil
parents: 1
diff changeset
71 extern int WINAPI expLoadStringA(long instance, long id, void* buf, long size);
d8c1b0b38edc Add prototypes to wine/loader stuff, so that we can catch __stdcall function
jkeil
parents: 1
diff changeset
72 extern long WINAPI expMultiByteToWideChar(long v1, long v2, char* s1, long siz1, short* s2, int siz2);
d8c1b0b38edc Add prototypes to wine/loader stuff, so that we can catch __stdcall function
jkeil
parents: 1
diff changeset
73 extern long WINAPI expWideCharToMultiByte(long v1, long v2, short* s1, long siz1, char* s2, int siz2, char* c3, int* siz3);
d8c1b0b38edc Add prototypes to wine/loader stuff, so that we can catch __stdcall function
jkeil
parents: 1
diff changeset
74 extern long WINAPI expGetVersionExA(OSVERSIONINFOA* c);
d8c1b0b38edc Add prototypes to wine/loader stuff, so that we can catch __stdcall function
jkeil
parents: 1
diff changeset
75 extern HANDLE WINAPI expCreateSemaphoreA(char* v1, long init_count, long max_count, char* name);
d8c1b0b38edc Add prototypes to wine/loader stuff, so that we can catch __stdcall function
jkeil
parents: 1
diff changeset
76 extern long WINAPI expReleaseSemaphore(long hsem, long increment, long* prev_count);
d8c1b0b38edc Add prototypes to wine/loader stuff, so that we can catch __stdcall function
jkeil
parents: 1
diff changeset
77 extern long WINAPI expRegOpenKeyExA(long key, const char* subkey, long reserved, long access, int* newkey);
d8c1b0b38edc Add prototypes to wine/loader stuff, so that we can catch __stdcall function
jkeil
parents: 1
diff changeset
78 extern long WINAPI expRegCloseKey(long key);
d8c1b0b38edc Add prototypes to wine/loader stuff, so that we can catch __stdcall function
jkeil
parents: 1
diff changeset
79
d8c1b0b38edc Add prototypes to wine/loader stuff, so that we can catch __stdcall function
jkeil
parents: 1
diff changeset
80 extern long WINAPI expRegQueryValueExA(long key, const char* value, int* reserved, int* type, int* data, int* count);
d8c1b0b38edc Add prototypes to wine/loader stuff, so that we can catch __stdcall function
jkeil
parents: 1
diff changeset
81 extern long WINAPI expRegCreateKeyExA(long key, const char* name, long reserved,
d8c1b0b38edc Add prototypes to wine/loader stuff, so that we can catch __stdcall function
jkeil
parents: 1
diff changeset
82 void* classs, long options, long security,
d8c1b0b38edc Add prototypes to wine/loader stuff, so that we can catch __stdcall function
jkeil
parents: 1
diff changeset
83 void* sec_attr, int* newkey, int* status);
d8c1b0b38edc Add prototypes to wine/loader stuff, so that we can catch __stdcall function
jkeil
parents: 1
diff changeset
84 extern long WINAPI expRegSetValueExA(long key, const char* name, long v1, long v2, void* data, long size);
d8c1b0b38edc Add prototypes to wine/loader stuff, so that we can catch __stdcall function
jkeil
parents: 1
diff changeset
85 extern long WINAPI expRegOpenKeyA (long hKey, LPCSTR lpSubKey, int* phkResult);
d8c1b0b38edc Add prototypes to wine/loader stuff, so that we can catch __stdcall function
jkeil
parents: 1
diff changeset
86 extern long WINAPI expQueryPerformanceCounter(long long* z);
d8c1b0b38edc Add prototypes to wine/loader stuff, so that we can catch __stdcall function
jkeil
parents: 1
diff changeset
87 extern long WINAPI expQueryPerformanceFrequency(long long* z);
d8c1b0b38edc Add prototypes to wine/loader stuff, so that we can catch __stdcall function
jkeil
parents: 1
diff changeset
88 extern long WINAPI exptimeGetTime(void);
d8c1b0b38edc Add prototypes to wine/loader stuff, so that we can catch __stdcall function
jkeil
parents: 1
diff changeset
89 extern void* WINAPI expLocalHandle(void* v);
d8c1b0b38edc Add prototypes to wine/loader stuff, so that we can catch __stdcall function
jkeil
parents: 1
diff changeset
90 extern void* WINAPI expGlobalHandle(void* v);
d8c1b0b38edc Add prototypes to wine/loader stuff, so that we can catch __stdcall function
jkeil
parents: 1
diff changeset
91 extern int WINAPI expGlobalUnlock(void* v);
d8c1b0b38edc Add prototypes to wine/loader stuff, so that we can catch __stdcall function
jkeil
parents: 1
diff changeset
92 extern void* WINAPI expGlobalFree(void* v);
d8c1b0b38edc Add prototypes to wine/loader stuff, so that we can catch __stdcall function
jkeil
parents: 1
diff changeset
93 extern void* WINAPI expGlobalReAlloc(void* v, int size, int flags);
d8c1b0b38edc Add prototypes to wine/loader stuff, so that we can catch __stdcall function
jkeil
parents: 1
diff changeset
94 extern int WINAPI expLocalUnlock(void* v);
d8c1b0b38edc Add prototypes to wine/loader stuff, so that we can catch __stdcall function
jkeil
parents: 1
diff changeset
95 extern void* WINAPI expLocalFree(void* v);
d8c1b0b38edc Add prototypes to wine/loader stuff, so that we can catch __stdcall function
jkeil
parents: 1
diff changeset
96 extern HRSRC WINAPI expFindResourceA(HMODULE module, char* name, char* type);
d8c1b0b38edc Add prototypes to wine/loader stuff, so that we can catch __stdcall function
jkeil
parents: 1
diff changeset
97 extern HGLOBAL WINAPI expLoadResource(HMODULE module, HRSRC res);
d8c1b0b38edc Add prototypes to wine/loader stuff, so that we can catch __stdcall function
jkeil
parents: 1
diff changeset
98 extern void* WINAPI expLockResource(long res);
d8c1b0b38edc Add prototypes to wine/loader stuff, so that we can catch __stdcall function
jkeil
parents: 1
diff changeset
99 extern int WINAPI expFreeResource(long res);
d8c1b0b38edc Add prototypes to wine/loader stuff, so that we can catch __stdcall function
jkeil
parents: 1
diff changeset
100 extern int WINAPI expCloseHandle(long v1);
d8c1b0b38edc Add prototypes to wine/loader stuff, so that we can catch __stdcall function
jkeil
parents: 1
diff changeset
101 extern const char* WINAPI expGetCommandLineA(void);
d8c1b0b38edc Add prototypes to wine/loader stuff, so that we can catch __stdcall function
jkeil
parents: 1
diff changeset
102 extern LPWSTR WINAPI expGetEnvironmentStringsW(void);
d8c1b0b38edc Add prototypes to wine/loader stuff, so that we can catch __stdcall function
jkeil
parents: 1
diff changeset
103 extern void * WINAPI expRtlZeroMemory(void *p, size_t len);
d8c1b0b38edc Add prototypes to wine/loader stuff, so that we can catch __stdcall function
jkeil
parents: 1
diff changeset
104 extern void * WINAPI expRtlMoveMemory(void *dst, void *src, size_t len);
d8c1b0b38edc Add prototypes to wine/loader stuff, so that we can catch __stdcall function
jkeil
parents: 1
diff changeset
105 extern void * WINAPI expRtlFillMemory(void *p, int ch, size_t len);
d8c1b0b38edc Add prototypes to wine/loader stuff, so that we can catch __stdcall function
jkeil
parents: 1
diff changeset
106 extern int WINAPI expFreeEnvironmentStringsW(short* strings);
d8c1b0b38edc Add prototypes to wine/loader stuff, so that we can catch __stdcall function
jkeil
parents: 1
diff changeset
107 extern int WINAPI expFreeEnvironmentStringsA(char* strings);
d8c1b0b38edc Add prototypes to wine/loader stuff, so that we can catch __stdcall function
jkeil
parents: 1
diff changeset
108 extern LPWSTR WINAPI expGetEnvironmentStringsW(void);
d8c1b0b38edc Add prototypes to wine/loader stuff, so that we can catch __stdcall function
jkeil
parents: 1
diff changeset
109 LPCSTR WINAPI expGetEnvironmentStrings(void);
d8c1b0b38edc Add prototypes to wine/loader stuff, so that we can catch __stdcall function
jkeil
parents: 1
diff changeset
110 extern int WINAPI expGetStartupInfoA(STARTUPINFOA *s);
d8c1b0b38edc Add prototypes to wine/loader stuff, so that we can catch __stdcall function
jkeil
parents: 1
diff changeset
111 extern int WINAPI expGetStdHandle(int z);
d8c1b0b38edc Add prototypes to wine/loader stuff, so that we can catch __stdcall function
jkeil
parents: 1
diff changeset
112 extern int WINAPI expGetFileType(int handle);
d8c1b0b38edc Add prototypes to wine/loader stuff, so that we can catch __stdcall function
jkeil
parents: 1
diff changeset
113 extern int WINAPI expSetHandleCount(int count);
d8c1b0b38edc Add prototypes to wine/loader stuff, so that we can catch __stdcall function
jkeil
parents: 1
diff changeset
114 extern int WINAPI expGetACP(void);
d8c1b0b38edc Add prototypes to wine/loader stuff, so that we can catch __stdcall function
jkeil
parents: 1
diff changeset
115 extern int WINAPI expGetModuleFileNameA(int module, char* s, int len);
d8c1b0b38edc Add prototypes to wine/loader stuff, so that we can catch __stdcall function
jkeil
parents: 1
diff changeset
116 extern int WINAPI expSetUnhandledExceptionFilter(void* filter);
d8c1b0b38edc Add prototypes to wine/loader stuff, so that we can catch __stdcall function
jkeil
parents: 1
diff changeset
117 extern int WINAPI expLoadLibraryA(char* name);
d8c1b0b38edc Add prototypes to wine/loader stuff, so that we can catch __stdcall function
jkeil
parents: 1
diff changeset
118 extern int WINAPI expFreeLibrary(int module);
d8c1b0b38edc Add prototypes to wine/loader stuff, so that we can catch __stdcall function
jkeil
parents: 1
diff changeset
119 extern void* WINAPI expGetProcAddress(HMODULE mod, char* name);
d8c1b0b38edc Add prototypes to wine/loader stuff, so that we can catch __stdcall function
jkeil
parents: 1
diff changeset
120 extern long WINAPI expCreateFileMappingA(int hFile, void* lpAttr,
d8c1b0b38edc Add prototypes to wine/loader stuff, so that we can catch __stdcall function
jkeil
parents: 1
diff changeset
121 long flProtect, long dwMaxHigh, long dwMaxLow, const char* name);
d8c1b0b38edc Add prototypes to wine/loader stuff, so that we can catch __stdcall function
jkeil
parents: 1
diff changeset
122 extern long WINAPI expOpenFileMappingA(long hFile, long hz, const char* name);
d8c1b0b38edc Add prototypes to wine/loader stuff, so that we can catch __stdcall function
jkeil
parents: 1
diff changeset
123 extern void* WINAPI expMapViewOfFile(HANDLE file, DWORD mode, DWORD offHigh, DWORD offLow, DWORD size);
d8c1b0b38edc Add prototypes to wine/loader stuff, so that we can catch __stdcall function
jkeil
parents: 1
diff changeset
124 extern void* WINAPI expUnmapViewOfFile(void* view);
d8c1b0b38edc Add prototypes to wine/loader stuff, so that we can catch __stdcall function
jkeil
parents: 1
diff changeset
125 extern void* WINAPI expSleep(int time);
d8c1b0b38edc Add prototypes to wine/loader stuff, so that we can catch __stdcall function
jkeil
parents: 1
diff changeset
126 extern void* WINAPI expCreateCompatibleDC(int hdc);
d8c1b0b38edc Add prototypes to wine/loader stuff, so that we can catch __stdcall function
jkeil
parents: 1
diff changeset
127 extern int WINAPI expGetDeviceCaps(int hdc, int unk);
d8c1b0b38edc Add prototypes to wine/loader stuff, so that we can catch __stdcall function
jkeil
parents: 1
diff changeset
128 extern WIN_BOOL WINAPI expDeleteDC(int hdc);
d8c1b0b38edc Add prototypes to wine/loader stuff, so that we can catch __stdcall function
jkeil
parents: 1
diff changeset
129 extern int WINAPI expGetPrivateProfileIntA(const char* appname, const char* keyname, int default_value, const char* filename);
d8c1b0b38edc Add prototypes to wine/loader stuff, so that we can catch __stdcall function
jkeil
parents: 1
diff changeset
130 extern int WINAPI expGetProfileIntA(const char* appname, const char* keyname, int default_value);
d8c1b0b38edc Add prototypes to wine/loader stuff, so that we can catch __stdcall function
jkeil
parents: 1
diff changeset
131 extern int WINAPI expGetPrivateProfileStringA(const char* appname, const char* keyname,
d8c1b0b38edc Add prototypes to wine/loader stuff, so that we can catch __stdcall function
jkeil
parents: 1
diff changeset
132 const char* def_val, char* dest, unsigned int len, const char* filename);
d8c1b0b38edc Add prototypes to wine/loader stuff, so that we can catch __stdcall function
jkeil
parents: 1
diff changeset
133 extern int WINAPI expWritePrivateProfileStringA(const char* appname, const char* keyname,
d8c1b0b38edc Add prototypes to wine/loader stuff, so that we can catch __stdcall function
jkeil
parents: 1
diff changeset
134 const char* string, const char* filename);
d8c1b0b38edc Add prototypes to wine/loader stuff, so that we can catch __stdcall function
jkeil
parents: 1
diff changeset
135 extern int WINAPI expDefDriverProc(int _private, int id, int msg, int arg1, int arg2);
d8c1b0b38edc Add prototypes to wine/loader stuff, so that we can catch __stdcall function
jkeil
parents: 1
diff changeset
136 extern int WINAPI expSizeofResource(int v1, int v2);
d8c1b0b38edc Add prototypes to wine/loader stuff, so that we can catch __stdcall function
jkeil
parents: 1
diff changeset
137 extern int WINAPI expGetLastError(void);
d8c1b0b38edc Add prototypes to wine/loader stuff, so that we can catch __stdcall function
jkeil
parents: 1
diff changeset
138 extern void WINAPI expSetLastError(int error);
d8c1b0b38edc Add prototypes to wine/loader stuff, so that we can catch __stdcall function
jkeil
parents: 1
diff changeset
139 extern long WINAPI exptimeGetTime(void);
d8c1b0b38edc Add prototypes to wine/loader stuff, so that we can catch __stdcall function
jkeil
parents: 1
diff changeset
140 extern int WINAPI expStringFromGUID2(GUID* guid, char* str, int cbMax);
d8c1b0b38edc Add prototypes to wine/loader stuff, so that we can catch __stdcall function
jkeil
parents: 1
diff changeset
141 extern int WINAPI expGetFileVersionInfoSizeA(const char* name, int* lpHandle);
d8c1b0b38edc Add prototypes to wine/loader stuff, so that we can catch __stdcall function
jkeil
parents: 1
diff changeset
142 extern int WINAPI expIsBadStringPtrW(const short* string, int nchars);
d8c1b0b38edc Add prototypes to wine/loader stuff, so that we can catch __stdcall function
jkeil
parents: 1
diff changeset
143 extern int WINAPI expIsBadStringPtrA(const char* string, int nchars);
d8c1b0b38edc Add prototypes to wine/loader stuff, so that we can catch __stdcall function
jkeil
parents: 1
diff changeset
144 extern long WINAPI expInterlockedIncrement( long* dest );
d8c1b0b38edc Add prototypes to wine/loader stuff, so that we can catch __stdcall function
jkeil
parents: 1
diff changeset
145 extern long WINAPI expInterlockedDecrement( long* dest );
d8c1b0b38edc Add prototypes to wine/loader stuff, so that we can catch __stdcall function
jkeil
parents: 1
diff changeset
146 extern void WINAPI expOutputDebugStringA( const char* string );
d8c1b0b38edc Add prototypes to wine/loader stuff, so that we can catch __stdcall function
jkeil
parents: 1
diff changeset
147 extern int WINAPI expGetDC(int hwnd);
d8c1b0b38edc Add prototypes to wine/loader stuff, so that we can catch __stdcall function
jkeil
parents: 1
diff changeset
148 extern int WINAPI expGetDesktopWindow(void);
d8c1b0b38edc Add prototypes to wine/loader stuff, so that we can catch __stdcall function
jkeil
parents: 1
diff changeset
149 extern int WINAPI expReleaseDC(int hwnd, int hdc);
d8c1b0b38edc Add prototypes to wine/loader stuff, so that we can catch __stdcall function
jkeil
parents: 1
diff changeset
150 extern int WINAPI expLoadCursorA(int handle,LPCSTR name);
d8c1b0b38edc Add prototypes to wine/loader stuff, so that we can catch __stdcall function
jkeil
parents: 1
diff changeset
151 extern int WINAPI expSetCursor(void *cursor);
2069
ce45cce7f7a5 sync with avifile
arpi
parents: 1307
diff changeset
152 extern int WINAPI expGetCursorPos(void *cursor);
ce45cce7f7a5 sync with avifile
arpi
parents: 1307
diff changeset
153 extern int WINAPI expRegisterWindowMessageA(char *message);
ce45cce7f7a5 sync with avifile
arpi
parents: 1307
diff changeset
154 extern int WINAPI expGetProcessVersion(int pid);
ce45cce7f7a5 sync with avifile
arpi
parents: 1307
diff changeset
155 extern int WINAPI expGetCurrentThread(void);
ce45cce7f7a5 sync with avifile
arpi
parents: 1307
diff changeset
156 extern int WINAPI expGetOEMCP(void);
ce45cce7f7a5 sync with avifile
arpi
parents: 1307
diff changeset
157 extern int WINAPI expGetCPInfo(int cp,void *info);
ce45cce7f7a5 sync with avifile
arpi
parents: 1307
diff changeset
158 extern int WINAPI expGetSysColor(int pid);
ce45cce7f7a5 sync with avifile
arpi
parents: 1307
diff changeset
159 extern int WINAPI expGetSysColorBrush(int pid);
ce45cce7f7a5 sync with avifile
arpi
parents: 1307
diff changeset
160 extern int WINAPI expGetSystemMetrics(int index);
1307
d8c1b0b38edc Add prototypes to wine/loader stuff, so that we can catch __stdcall function
jkeil
parents: 1
diff changeset
161 extern int WINAPI expGetSystemPaletteEntries(int hdc, int iStartIndex, int nEntries, void* lppe);
d8c1b0b38edc Add prototypes to wine/loader stuff, so that we can catch __stdcall function
jkeil
parents: 1
diff changeset
162 extern int WINAPI expGetTimeZoneInformation(LPTIME_ZONE_INFORMATION lpTimeZoneInformation);
d8c1b0b38edc Add prototypes to wine/loader stuff, so that we can catch __stdcall function
jkeil
parents: 1
diff changeset
163 extern void WINAPI expGetLocalTime(SYSTEMTIME* systime);
d8c1b0b38edc Add prototypes to wine/loader stuff, so that we can catch __stdcall function
jkeil
parents: 1
diff changeset
164 extern int WINAPI expGetSystemTime(SYSTEMTIME* systime);
d8c1b0b38edc Add prototypes to wine/loader stuff, so that we can catch __stdcall function
jkeil
parents: 1
diff changeset
165 extern int WINAPI expGetEnvironmentVariableA(const char* name, char* field, int size);
d8c1b0b38edc Add prototypes to wine/loader stuff, so that we can catch __stdcall function
jkeil
parents: 1
diff changeset
166 extern void* WINAPI expCoTaskMemAlloc(ULONG cb);
d8c1b0b38edc Add prototypes to wine/loader stuff, so that we can catch __stdcall function
jkeil
parents: 1
diff changeset
167 extern void WINAPI expCoTaskMemFree(void* cb);
d8c1b0b38edc Add prototypes to wine/loader stuff, so that we can catch __stdcall function
jkeil
parents: 1
diff changeset
168 extern long WINAPI expCoCreateInstance(GUID* rclsid, struct IUnknown* pUnkOuter,
d8c1b0b38edc Add prototypes to wine/loader stuff, so that we can catch __stdcall function
jkeil
parents: 1
diff changeset
169 long dwClsContext, GUID* riid, void** ppv);
d8c1b0b38edc Add prototypes to wine/loader stuff, so that we can catch __stdcall function
jkeil
parents: 1
diff changeset
170 extern int WINAPI expIsRectEmpty(CONST RECT *lprc);
d8c1b0b38edc Add prototypes to wine/loader stuff, so that we can catch __stdcall function
jkeil
parents: 1
diff changeset
171 extern unsigned int WINAPI expGetTempPathA(unsigned int len, char* path);
d8c1b0b38edc Add prototypes to wine/loader stuff, so that we can catch __stdcall function
jkeil
parents: 1
diff changeset
172 extern HANDLE WINAPI expFindFirstFileA(LPCSTR s, LPWIN32_FIND_DATAA lpfd);
d8c1b0b38edc Add prototypes to wine/loader stuff, so that we can catch __stdcall function
jkeil
parents: 1
diff changeset
173 extern WIN_BOOL WINAPI expFindNextFileA(HANDLE h,LPWIN32_FIND_DATAA p);
d8c1b0b38edc Add prototypes to wine/loader stuff, so that we can catch __stdcall function
jkeil
parents: 1
diff changeset
174 extern WIN_BOOL WINAPI expFindClose(HANDLE h);
d8c1b0b38edc Add prototypes to wine/loader stuff, so that we can catch __stdcall function
jkeil
parents: 1
diff changeset
175 extern UINT WINAPI expSetErrorMode(UINT i);
d8c1b0b38edc Add prototypes to wine/loader stuff, so that we can catch __stdcall function
jkeil
parents: 1
diff changeset
176 extern UINT WINAPI expGetWindowsDirectoryA(LPSTR s,UINT c);
d8c1b0b38edc Add prototypes to wine/loader stuff, so that we can catch __stdcall function
jkeil
parents: 1
diff changeset
177 extern WIN_BOOL WINAPI expDeleteFileA(LPCSTR s);
d8c1b0b38edc Add prototypes to wine/loader stuff, so that we can catch __stdcall function
jkeil
parents: 1
diff changeset
178 extern WIN_BOOL WINAPI expFileTimeToLocalFileTime(const FILETIME* cpf, LPFILETIME pf);
d8c1b0b38edc Add prototypes to wine/loader stuff, so that we can catch __stdcall function
jkeil
parents: 1
diff changeset
179 extern UINT WINAPI expGetTempFileNameA(LPCSTR cs1,LPCSTR cs2,UINT i,LPSTR ps);
d8c1b0b38edc Add prototypes to wine/loader stuff, so that we can catch __stdcall function
jkeil
parents: 1
diff changeset
180 extern HANDLE WINAPI expCreateFileA(LPCSTR cs1,DWORD i1,DWORD i2,
d8c1b0b38edc Add prototypes to wine/loader stuff, so that we can catch __stdcall function
jkeil
parents: 1
diff changeset
181 LPSECURITY_ATTRIBUTES p1, DWORD i3,DWORD i4,HANDLE i5);
d8c1b0b38edc Add prototypes to wine/loader stuff, so that we can catch __stdcall function
jkeil
parents: 1
diff changeset
182 extern LPCSTR WINAPI expGetSystemDirectoryA(void);
d8c1b0b38edc Add prototypes to wine/loader stuff, so that we can catch __stdcall function
jkeil
parents: 1
diff changeset
183 extern WIN_BOOL WINAPI expReadFile(HANDLE h,LPVOID pv,DWORD size,LPDWORD rd,LPOVERLAPPED unused);
d8c1b0b38edc Add prototypes to wine/loader stuff, so that we can catch __stdcall function
jkeil
parents: 1
diff changeset
184 extern WIN_BOOL WINAPI expWriteFile(HANDLE h,LPCVOID pv,DWORD size,LPDWORD wr,LPOVERLAPPED unused);
d8c1b0b38edc Add prototypes to wine/loader stuff, so that we can catch __stdcall function
jkeil
parents: 1
diff changeset
185 extern DWORD WINAPI expSetFilePointer(HANDLE h, LONG val, LPLONG ext, DWORD whence);
d8c1b0b38edc Add prototypes to wine/loader stuff, so that we can catch __stdcall function
jkeil
parents: 1
diff changeset
186 extern HDRVR WINAPI expOpenDriverA(LPCSTR szDriverName, LPCSTR szSectionName,
d8c1b0b38edc Add prototypes to wine/loader stuff, so that we can catch __stdcall function
jkeil
parents: 1
diff changeset
187 LPARAM lParam2);
d8c1b0b38edc Add prototypes to wine/loader stuff, so that we can catch __stdcall function
jkeil
parents: 1
diff changeset
188 HDRVR WINAPI expOpenDriver(LPCSTR szDriverName, LPCSTR szSectionName,
d8c1b0b38edc Add prototypes to wine/loader stuff, so that we can catch __stdcall function
jkeil
parents: 1
diff changeset
189 LPARAM lParam2) ;
d8c1b0b38edc Add prototypes to wine/loader stuff, so that we can catch __stdcall function
jkeil
parents: 1
diff changeset
190 extern WIN_BOOL WINAPI expGetProcessAffinityMask(HANDLE hProcess,
d8c1b0b38edc Add prototypes to wine/loader stuff, so that we can catch __stdcall function
jkeil
parents: 1
diff changeset
191 LPDWORD lpProcessAffinityMask,
d8c1b0b38edc Add prototypes to wine/loader stuff, so that we can catch __stdcall function
jkeil
parents: 1
diff changeset
192 LPDWORD lpSystemAffinityMask);
d8c1b0b38edc Add prototypes to wine/loader stuff, so that we can catch __stdcall function
jkeil
parents: 1
diff changeset
193 extern DWORD WINAPI expRegEnumValueA( HKEY hkey, DWORD index, LPSTR value, LPDWORD val_count,
d8c1b0b38edc Add prototypes to wine/loader stuff, so that we can catch __stdcall function
jkeil
parents: 1
diff changeset
194 LPDWORD reserved, LPDWORD type, LPBYTE data, LPDWORD count );
d8c1b0b38edc Add prototypes to wine/loader stuff, so that we can catch __stdcall function
jkeil
parents: 1
diff changeset
195 extern INT WINAPI expMulDiv(int nNumber,int nNumerator,int nDenominator);
d8c1b0b38edc Add prototypes to wine/loader stuff, so that we can catch __stdcall function
jkeil
parents: 1
diff changeset
196 extern LONG WINAPI explstrcmpiA(const char* str1, const char* str2);
d8c1b0b38edc Add prototypes to wine/loader stuff, so that we can catch __stdcall function
jkeil
parents: 1
diff changeset
197 extern LONG WINAPI explstrlenA(const char* str1);
d8c1b0b38edc Add prototypes to wine/loader stuff, so that we can catch __stdcall function
jkeil
parents: 1
diff changeset
198 extern LONG WINAPI explstrcpyA(char* str1, const char* str2);
2069
ce45cce7f7a5 sync with avifile
arpi
parents: 1307
diff changeset
199 extern LONG WINAPI explstrcpynA(char* str1, const char* str2,int len);
ce45cce7f7a5 sync with avifile
arpi
parents: 1307
diff changeset
200 extern LONG WINAPI explstrcatA(char* str1, const char* str2);
1307
d8c1b0b38edc Add prototypes to wine/loader stuff, so that we can catch __stdcall function
jkeil
parents: 1
diff changeset
201 extern LONG WINAPI expInterlockedExchange(long *dest, long l);
2651
958d10763c34 partially synced with avifile... (TODO: migrate to new registry.c and driver.c)
arpi
parents: 2139
diff changeset
202 void WINAPI expInitCommonControls(void);
1307
d8c1b0b38edc Add prototypes to wine/loader stuff, so that we can catch __stdcall function
jkeil
parents: 1
diff changeset
203
2139
e06cabbd1a9b changes merged back from avifile cvs
arpi
parents: 2069
diff changeset
204
1307
d8c1b0b38edc Add prototypes to wine/loader stuff, so that we can catch __stdcall function
jkeil
parents: 1
diff changeset
205 extern void* CDECL expmalloc(int size);
d8c1b0b38edc Add prototypes to wine/loader stuff, so that we can catch __stdcall function
jkeil
parents: 1
diff changeset
206 extern void CDECL expfree(void* mem);
d8c1b0b38edc Add prototypes to wine/loader stuff, so that we can catch __stdcall function
jkeil
parents: 1
diff changeset
207 extern void* CDECL expnew(int size);
d8c1b0b38edc Add prototypes to wine/loader stuff, so that we can catch __stdcall function
jkeil
parents: 1
diff changeset
208 extern int CDECL expdelete(void* memory);
d8c1b0b38edc Add prototypes to wine/loader stuff, so that we can catch __stdcall function
jkeil
parents: 1
diff changeset
209 extern int CDECL exp_initterm(int v1, int v2);
d8c1b0b38edc Add prototypes to wine/loader stuff, so that we can catch __stdcall function
jkeil
parents: 1
diff changeset
210
d8c1b0b38edc Add prototypes to wine/loader stuff, so that we can catch __stdcall function
jkeil
parents: 1
diff changeset
211 extern int expwsprintfA(char* string, char* format, ...);
d8c1b0b38edc Add prototypes to wine/loader stuff, so that we can catch __stdcall function
jkeil
parents: 1
diff changeset
212 extern char* expstrrchr(char* string, int value);
d8c1b0b38edc Add prototypes to wine/loader stuff, so that we can catch __stdcall function
jkeil
parents: 1
diff changeset
213 extern char* expstrchr(char* string, int value);
d8c1b0b38edc Add prototypes to wine/loader stuff, so that we can catch __stdcall function
jkeil
parents: 1
diff changeset
214 extern int expstrlen(char* str);
d8c1b0b38edc Add prototypes to wine/loader stuff, so that we can catch __stdcall function
jkeil
parents: 1
diff changeset
215 extern int expstrcpy(char* str1, const char* str2);
d8c1b0b38edc Add prototypes to wine/loader stuff, so that we can catch __stdcall function
jkeil
parents: 1
diff changeset
216 extern int expstrcmp(const char* str1, const char* str2);
3128
392316004607 avifile sync... maybe broken, tell me if so.
arpi
parents: 2779
diff changeset
217 extern int expstrncmp(const char* str1, const char* str2, int);
1307
d8c1b0b38edc Add prototypes to wine/loader stuff, so that we can catch __stdcall function
jkeil
parents: 1
diff changeset
218 extern int expstrcat(char* str1, const char* str2);
d8c1b0b38edc Add prototypes to wine/loader stuff, so that we can catch __stdcall function
jkeil
parents: 1
diff changeset
219 extern int expisalnum(int c);
d8c1b0b38edc Add prototypes to wine/loader stuff, so that we can catch __stdcall function
jkeil
parents: 1
diff changeset
220 extern int expmemmove(void* dest, void* src, int n);
d8c1b0b38edc Add prototypes to wine/loader stuff, so that we can catch __stdcall function
jkeil
parents: 1
diff changeset
221 extern int expmemcmp(void* dest, void* src, int n);
d8c1b0b38edc Add prototypes to wine/loader stuff, so that we can catch __stdcall function
jkeil
parents: 1
diff changeset
222 extern void *expmemcpy(void* dest, void* src, int n) ;
d8c1b0b38edc Add prototypes to wine/loader stuff, so that we can catch __stdcall function
jkeil
parents: 1
diff changeset
223 extern time_t exptime(time_t* t);
2651
958d10763c34 partially synced with avifile... (TODO: migrate to new registry.c and driver.c)
arpi
parents: 2139
diff changeset
224 extern int exprand(void);
958d10763c34 partially synced with avifile... (TODO: migrate to new registry.c and driver.c)
arpi
parents: 2139
diff changeset
225 extern void expsrand(int seed);
958d10763c34 partially synced with avifile... (TODO: migrate to new registry.c and driver.c)
arpi
parents: 2139
diff changeset
226 extern int exp_ftol(float f);
2139
e06cabbd1a9b changes merged back from avifile cvs
arpi
parents: 2069
diff changeset
227 extern int expsprintf(char* str, const char* format, ...);
2651
958d10763c34 partially synced with avifile... (TODO: migrate to new registry.c and driver.c)
arpi
parents: 2139
diff changeset
228 extern double explog10(double x);
958d10763c34 partially synced with avifile... (TODO: migrate to new registry.c and driver.c)
arpi
parents: 2139
diff changeset
229 extern double expcos(double x);
958d10763c34 partially synced with avifile... (TODO: migrate to new registry.c and driver.c)
arpi
parents: 2139
diff changeset
230 extern double exppow(double x, double y);
2139
e06cabbd1a9b changes merged back from avifile cvs
arpi
parents: 2069
diff changeset
231 extern int expsscanf(const char* str, const char* format, ...);
e06cabbd1a9b changes merged back from avifile cvs
arpi
parents: 2069
diff changeset
232 extern void* expfopen(const char* path, const char* mode);
2651
958d10763c34 partially synced with avifile... (TODO: migrate to new registry.c and driver.c)
arpi
parents: 2139
diff changeset
233 extern int expfprintf(void* stream, const char* format, ...);
958d10763c34 partially synced with avifile... (TODO: migrate to new registry.c and driver.c)
arpi
parents: 2139
diff changeset
234 extern int expprintf(const char* format, ...);
958d10763c34 partially synced with avifile... (TODO: migrate to new registry.c and driver.c)
arpi
parents: 2139
diff changeset
235 extern void* expwcscpy(WCHAR* dst, const WCHAR* src);
3128
392316004607 avifile sync... maybe broken, tell me if so.
arpi
parents: 2779
diff changeset
236 extern int exp_stricmp(const char*, const char*);
2139
e06cabbd1a9b changes merged back from avifile cvs
arpi
parents: 2069
diff changeset
237
1307
d8c1b0b38edc Add prototypes to wine/loader stuff, so that we can catch __stdcall function
jkeil
parents: 1
diff changeset
238 extern void* LookupExternal(const char* library, int ordinal);
2069
ce45cce7f7a5 sync with avifile
arpi
parents: 1307
diff changeset
239 extern void* LookupExternalByName(const char* library, const char* name);
1307
d8c1b0b38edc Add prototypes to wine/loader stuff, so that we can catch __stdcall function
jkeil
parents: 1
diff changeset
240
2139
e06cabbd1a9b changes merged back from avifile cvs
arpi
parents: 2069
diff changeset
241
1307
d8c1b0b38edc Add prototypes to wine/loader stuff, so that we can catch __stdcall function
jkeil
parents: 1
diff changeset
242 #endif