2008-02-23 14:50:55 +00:00
|
|
|
#ifndef MPLAYER_OBJBASE_H
|
|
|
|
#define MPLAYER_OBJBASE_H
|
2007-10-17 05:14:21 +00:00
|
|
|
|
|
|
|
#ifndef STDCALL
|
|
|
|
#define STDCALL __attribute__((__stdcall__))
|
2008-02-21 22:28:58 +00:00
|
|
|
#endif
|
2007-10-17 05:14:21 +00:00
|
|
|
|
|
|
|
/* from objbase.h needed for ve_vfw.c */
|
|
|
|
typedef enum tagCOINIT {
|
|
|
|
COINIT_APARTMENTTHREADED = 0x2,
|
|
|
|
COINIT_MULTITHREADED = 0x0,
|
|
|
|
COINIT_DISABLE_OLE1DDE = 0x4,
|
|
|
|
COINIT_SPEED_OVER_MEMORY = 0x8
|
|
|
|
} COINIT;
|
|
|
|
|
|
|
|
HRESULT STDCALL CoInitialize(LPVOID pvReserved);
|
|
|
|
HRESULT STDCALL CoInitializeEx(LPVOID pvReserved, DWORD dwCoinit);
|
|
|
|
void STDCALL CoUninitialize(void);
|
2007-12-31 16:15:50 +00:00
|
|
|
|
2008-02-23 14:50:55 +00:00
|
|
|
#endif /* MPLAYER_OBJBASE_H */
|