1
0
mirror of https://github.com/mpv-player/mpv synced 2024-12-12 01:46:16 +00:00
mpv/loader/wine/objbase.h

23 lines
558 B
C
Raw Normal View History

#ifndef MPLAYER_OBJBASE_H
#define MPLAYER_OBJBASE_H
#include "windef.h"
#ifndef STDCALL
#define STDCALL __attribute__((__stdcall__))
#endif
/* 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);
#endif /* MPLAYER_OBJBASE_H */