Mercurial > mplayer.hg
view loader/win32.h @ 36927:b99b9968056b
Don't unnecessarily call XDefineCursor().
Call it only when freeing the cursor resource, and call it before
freeing the cursor resource then to avoid problems with a defined
cursor which resource has already been freed.
Additionally, use symbolic constant instead of numeric value.
author | ib |
---|---|
date | Wed, 19 Mar 2014 14:07:47 +0000 |
parents | 0e067fdaf442 |
children |
line wrap: on
line source
/* * Modified for use with MPlayer, detailed changelog at * http://svn.mplayerhq.hu/mplayer/trunk/ */ #ifndef MPLAYER_WIN32_H #define MPLAYER_WIN32_H #include <time.h> #include "wine/windef.h" #include "wine/winbase.h" #include "com.h" void my_garbagecollection(void); typedef struct { UINT uDriverSignature; HINSTANCE hDriverModule; DRIVERPROC DriverProc; DWORD dwDriverID; } DRVR; typedef DRVR *PDRVR; typedef DRVR *NPDRVR; typedef DRVR *LPDRVR; typedef struct tls_s tls_t; void* LookupExternal(const char* library, int ordinal); void* LookupExternalByName(const char* library, const char* name); #endif /* MPLAYER_WIN32_H */