annotate loader/win32.h @ 2486:d4f398ef37aa

rewritten matrox tvout section
author gabucino
date Fri, 26 Oct 2001 17:19:13 +0000
parents e06cabbd1a9b
children 958d10763c34
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 int my_size(void* memory);
ce45cce7f7a5 sync with avifile
arpi
parents: 1307
diff changeset
13 extern void* my_realloc(void *memory,int size);
ce45cce7f7a5 sync with avifile
arpi
parents: 1307
diff changeset
14 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
15
d8c1b0b38edc Add prototypes to wine/loader stuff, so that we can catch __stdcall function
jkeil
parents: 1
diff changeset
16
d8c1b0b38edc Add prototypes to wine/loader stuff, so that we can catch __stdcall function
jkeil
parents: 1
diff changeset
17 typedef struct {
d8c1b0b38edc Add prototypes to wine/loader stuff, so that we can catch __stdcall function
jkeil
parents: 1
diff changeset
18 UINT uDriverSignature;
d8c1b0b38edc Add prototypes to wine/loader stuff, so that we can catch __stdcall function
jkeil
parents: 1
diff changeset
19 HINSTANCE hDriverModule;
d8c1b0b38edc Add prototypes to wine/loader stuff, so that we can catch __stdcall function
jkeil
parents: 1
diff changeset
20 DRIVERPROC DriverProc;
d8c1b0b38edc Add prototypes to wine/loader stuff, so that we can catch __stdcall function
jkeil
parents: 1
diff changeset
21 DWORD dwDriverID;
d8c1b0b38edc Add prototypes to wine/loader stuff, so that we can catch __stdcall function
jkeil
parents: 1
diff changeset
22 } DRVR;
d8c1b0b38edc Add prototypes to wine/loader stuff, so that we can catch __stdcall function
jkeil
parents: 1
diff changeset
23
d8c1b0b38edc Add prototypes to wine/loader stuff, so that we can catch __stdcall function
jkeil
parents: 1
diff changeset
24 typedef DRVR *PDRVR;
d8c1b0b38edc Add prototypes to wine/loader stuff, so that we can catch __stdcall function
jkeil
parents: 1
diff changeset
25 typedef DRVR *NPDRVR;
d8c1b0b38edc Add prototypes to wine/loader stuff, so that we can catch __stdcall function
jkeil
parents: 1
diff changeset
26 typedef DRVR *LPDRVR;
d8c1b0b38edc Add prototypes to wine/loader stuff, so that we can catch __stdcall function
jkeil
parents: 1
diff changeset
27
d8c1b0b38edc Add prototypes to wine/loader stuff, so that we can catch __stdcall function
jkeil
parents: 1
diff changeset
28 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
29
d8c1b0b38edc Add prototypes to wine/loader stuff, so that we can catch __stdcall function
jkeil
parents: 1
diff changeset
30 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
31
d8c1b0b38edc Add prototypes to wine/loader stuff, so that we can catch __stdcall function
jkeil
parents: 1
diff changeset
32 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
33 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
34 extern int WINAPI expDisableThreadLibraryCalls(int module);
2069
ce45cce7f7a5 sync with avifile
arpi
parents: 1307
diff changeset
35 extern HMODULE WINAPI expGetDriverModuleHandle(DRVR* pdrv);
ce45cce7f7a5 sync with avifile
arpi
parents: 1307
diff changeset
36 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
37 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
38 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
39 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
40 char bInitialState, const char* name);
d8c1b0b38edc Add prototypes to wine/loader stuff, so that we can catch __stdcall function
jkeil
parents: 1
diff changeset
41 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
42 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
43 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
44 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
45 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
46 extern long WINAPI expGetVersion(void);
d8c1b0b38edc Add prototypes to wine/loader stuff, so that we can catch __stdcall function
jkeil
parents: 1
diff changeset
47 long WINAPI expGetVersionExA(OSVERSIONINFOA* c);
d8c1b0b38edc Add prototypes to wine/loader stuff, so that we can catch __stdcall function
jkeil
parents: 1
diff changeset
48 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
49 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
50 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
51 extern long WINAPI expHeapFree(int arg1, int arg2, void* ptr);
2069
ce45cce7f7a5 sync with avifile
arpi
parents: 1307
diff changeset
52 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
53 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
54 extern long WINAPI expGetProcessHeap(void);
d8c1b0b38edc Add prototypes to wine/loader stuff, so that we can catch __stdcall function
jkeil
parents: 1
diff changeset
55 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
56 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
57 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
58 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
59 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
60 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
61 extern int WINAPI expGetCurrentThreadId(void);
d8c1b0b38edc Add prototypes to wine/loader stuff, so that we can catch __stdcall function
jkeil
parents: 1
diff changeset
62 extern int WINAPI expGetCurrentProcess(void);
d8c1b0b38edc Add prototypes to wine/loader stuff, so that we can catch __stdcall function
jkeil
parents: 1
diff changeset
63 extern void* WINAPI expTlsAlloc(void);
d8c1b0b38edc Add prototypes to wine/loader stuff, so that we can catch __stdcall function
jkeil
parents: 1
diff changeset
64 extern int WINAPI expTlsSetValue(tls_t* index, void* value);
d8c1b0b38edc Add prototypes to wine/loader stuff, so that we can catch __stdcall function
jkeil
parents: 1
diff changeset
65 extern void* WINAPI expTlsGetValue(tls_t* index);
d8c1b0b38edc Add prototypes to wine/loader stuff, so that we can catch __stdcall function
jkeil
parents: 1
diff changeset
66 extern int WINAPI expTlsFree(tls_t* index);
d8c1b0b38edc Add prototypes to wine/loader stuff, so that we can catch __stdcall function
jkeil
parents: 1
diff changeset
67 extern void* WINAPI expLocalAlloc(int flags, int size);
2069
ce45cce7f7a5 sync with avifile
arpi
parents: 1307
diff changeset
68 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
69 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
70 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
71 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
72 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
73 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
74 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
75 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
76 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
77 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
78 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
79 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
80
d8c1b0b38edc Add prototypes to wine/loader stuff, so that we can catch __stdcall function
jkeil
parents: 1
diff changeset
81 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
82 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
83 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
84 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
85 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
86 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
87 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
88 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
89 extern long WINAPI exptimeGetTime(void);
d8c1b0b38edc Add prototypes to wine/loader stuff, so that we can catch __stdcall function
jkeil
parents: 1
diff changeset
90 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
91 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
92 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
93 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
94 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
95 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
96 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
97 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
98 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
99 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
100 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
101 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
102 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
103 extern LPWSTR WINAPI expGetEnvironmentStringsW(void);
d8c1b0b38edc Add prototypes to wine/loader stuff, so that we can catch __stdcall function
jkeil
parents: 1
diff changeset
104 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
105 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
106 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
107 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
108 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
109 extern LPWSTR WINAPI expGetEnvironmentStringsW(void);
d8c1b0b38edc Add prototypes to wine/loader stuff, so that we can catch __stdcall function
jkeil
parents: 1
diff changeset
110 LPCSTR WINAPI expGetEnvironmentStrings(void);
d8c1b0b38edc Add prototypes to wine/loader stuff, so that we can catch __stdcall function
jkeil
parents: 1
diff changeset
111 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
112 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
113 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
114 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
115 extern int WINAPI expGetACP(void);
d8c1b0b38edc Add prototypes to wine/loader stuff, so that we can catch __stdcall function
jkeil
parents: 1
diff changeset
116 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
117 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
118 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
119 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
120 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
121 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
122 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
123 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
124 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
125 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
126 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
127 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
128 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
129 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
130 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
131 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
132 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
133 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
134 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
135 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
136 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
137 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
138 extern int WINAPI expGetLastError(void);
d8c1b0b38edc Add prototypes to wine/loader stuff, so that we can catch __stdcall function
jkeil
parents: 1
diff changeset
139 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
140 extern long WINAPI exptimeGetTime(void);
d8c1b0b38edc Add prototypes to wine/loader stuff, so that we can catch __stdcall function
jkeil
parents: 1
diff changeset
141 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
142 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
143 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
144 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
145 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
146 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
147 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
148 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
149 extern int WINAPI expGetDesktopWindow(void);
d8c1b0b38edc Add prototypes to wine/loader stuff, so that we can catch __stdcall function
jkeil
parents: 1
diff changeset
150 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
151 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
152 extern int WINAPI expSetCursor(void *cursor);
2069
ce45cce7f7a5 sync with avifile
arpi
parents: 1307
diff changeset
153 extern int WINAPI expGetCursorPos(void *cursor);
ce45cce7f7a5 sync with avifile
arpi
parents: 1307
diff changeset
154 extern int WINAPI expRegisterWindowMessageA(char *message);
ce45cce7f7a5 sync with avifile
arpi
parents: 1307
diff changeset
155 extern int WINAPI expGetProcessVersion(int pid);
ce45cce7f7a5 sync with avifile
arpi
parents: 1307
diff changeset
156 extern int WINAPI expGetCurrentThread(void);
ce45cce7f7a5 sync with avifile
arpi
parents: 1307
diff changeset
157 extern int WINAPI expGetOEMCP(void);
ce45cce7f7a5 sync with avifile
arpi
parents: 1307
diff changeset
158 extern int WINAPI expGetCPInfo(int cp,void *info);
ce45cce7f7a5 sync with avifile
arpi
parents: 1307
diff changeset
159 extern int WINAPI expGetSysColor(int pid);
ce45cce7f7a5 sync with avifile
arpi
parents: 1307
diff changeset
160 extern int WINAPI expGetSysColorBrush(int pid);
ce45cce7f7a5 sync with avifile
arpi
parents: 1307
diff changeset
161 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
162 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
163 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
164 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
165 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
166 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
167 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
168 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
169 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
170 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
171 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
172 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
173 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
174 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
175 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
176 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
177 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
178 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
179 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
180 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
181 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
182 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
183 extern LPCSTR WINAPI expGetSystemDirectoryA(void);
d8c1b0b38edc Add prototypes to wine/loader stuff, so that we can catch __stdcall function
jkeil
parents: 1
diff changeset
184 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
185 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
186 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
187 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
188 LPARAM lParam2);
d8c1b0b38edc Add prototypes to wine/loader stuff, so that we can catch __stdcall function
jkeil
parents: 1
diff changeset
189 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
190 LPARAM lParam2) ;
d8c1b0b38edc Add prototypes to wine/loader stuff, so that we can catch __stdcall function
jkeil
parents: 1
diff changeset
191 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
192 LPDWORD lpProcessAffinityMask,
d8c1b0b38edc Add prototypes to wine/loader stuff, so that we can catch __stdcall function
jkeil
parents: 1
diff changeset
193 LPDWORD lpSystemAffinityMask);
d8c1b0b38edc Add prototypes to wine/loader stuff, so that we can catch __stdcall function
jkeil
parents: 1
diff changeset
194 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
195 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
196 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
197 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
198 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
199 extern LONG WINAPI explstrcpyA(char* str1, const char* str2);
2069
ce45cce7f7a5 sync with avifile
arpi
parents: 1307
diff changeset
200 extern LONG WINAPI explstrcpynA(char* str1, const char* str2,int len);
ce45cce7f7a5 sync with avifile
arpi
parents: 1307
diff changeset
201 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
202 extern LONG WINAPI expInterlockedExchange(long *dest, long l);
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);
d8c1b0b38edc Add prototypes to wine/loader stuff, so that we can catch __stdcall function
jkeil
parents: 1
diff changeset
217 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
218 extern int expisalnum(int c);
d8c1b0b38edc Add prototypes to wine/loader stuff, so that we can catch __stdcall function
jkeil
parents: 1
diff changeset
219 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
220 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
221 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
222 extern time_t exptime(time_t* t);
2139
e06cabbd1a9b changes merged back from avifile cvs
arpi
parents: 2069
diff changeset
223 extern int expsprintf(char* str, const char* format, ...);
e06cabbd1a9b changes merged back from avifile cvs
arpi
parents: 2069
diff changeset
224 extern int expsscanf(const char* str, const char* format, ...);
e06cabbd1a9b changes merged back from avifile cvs
arpi
parents: 2069
diff changeset
225 extern void* expfopen(const char* path, const char* mode);
e06cabbd1a9b changes merged back from avifile cvs
arpi
parents: 2069
diff changeset
226
e06cabbd1a9b changes merged back from avifile cvs
arpi
parents: 2069
diff changeset
227
1307
d8c1b0b38edc Add prototypes to wine/loader stuff, so that we can catch __stdcall function
jkeil
parents: 1
diff changeset
228 extern void* LookupExternal(const char* library, int ordinal);
2069
ce45cce7f7a5 sync with avifile
arpi
parents: 1307
diff changeset
229 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
230
2139
e06cabbd1a9b changes merged back from avifile cvs
arpi
parents: 2069
diff changeset
231 extern int exprand();
e06cabbd1a9b changes merged back from avifile cvs
arpi
parents: 2069
diff changeset
232 extern int exp_ftol(float f);
e06cabbd1a9b changes merged back from avifile cvs
arpi
parents: 2069
diff changeset
233 extern void WINAPI expInitCommonControls();
e06cabbd1a9b changes merged back from avifile cvs
arpi
parents: 2069
diff changeset
234
1307
d8c1b0b38edc Add prototypes to wine/loader stuff, so that we can catch __stdcall function
jkeil
parents: 1
diff changeset
235 #endif