Release 951212
[wine/multimedia.git] / include / libres.h
blob918f0426d9c1b245bec9bb9aefe45761b0642856
1 /*
2 * WINElib-Resources
3 */
4 #ifndef __WINE_LIBRES_H
5 #define __WINE_LIBRES_H
7 #ifdef WINELIB
9 #include "windows.h"
10 #include "resource.h"
12 void LIBRES_RegisterResources(struct resource** Res);
14 INT LIBRES_AccessResource( HINSTANCE hModule, HRSRC hRsrc );
15 HGLOBAL LIBRES_AllocResource( HINSTANCE hModule, HRSRC hRsrc, DWORD size );
16 HRSRC LIBRES_FindResource( HINSTANCE hModule, LPCSTR name, LPCSTR type );
17 BOOL LIBRES_FreeResource( HGLOBAL handle );
18 HGLOBAL LIBRES_LoadResource( HINSTANCE hModule, HRSRC hRsrc );
19 LPVOID LIBRES_LockResource( HGLOBAL handle );
20 DWORD LIBRES_SizeofResource( HINSTANCE hModule, HRSRC hRsrc );
22 #endif /* WINELIB */
24 #endif