view loader/wine/objbase.h @ 27092:0b4d8e4d4ed7

Rename some definitions to avoid clashing with system headers, fixes: ./drivers/3dfx.h:262:1: warning: "ROP_COPY" redefined /usr/include/linux/fb.h:311:1: warning: this is the location of the previous definition ./drivers/3dfx.h:264:1: warning: "ROP_XOR" redefined /usr/include/linux/fb.h:312:1: warning: this is the location of the previous definition
author diego
date Mon, 23 Jun 2008 08:47:50 +0000
parents a8ea87c71d18
children 837cd9762b4e
line wrap: on
line source

#ifndef MPLAYER_OBJBASE_H
#define MPLAYER_OBJBASE_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 */