view loader/wine/objbase.h @ 25616:042b545d588e

No need to reinvent strdup...
author eugeni
date Mon, 07 Jan 2008 21:06:50 +0000
parents 3baf6a2283da
children 4f056043c2c1
line wrap: on
line source

#ifndef WINE_OBJBASE_H
#define WINE_OBJBASE_H

#ifndef STDCALL
#define STDCALL __attribute__((__stdcall__))
#endif /* WINE_OBJBASE_H */

/* 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 /* WINE_OBJBASE_H */