view loader/wine/objbase.h @ 24963:0a733c2c577e

Fix possible null-pointer-dereference in stream_fill_buffer().
author cehoyos
date Thu, 08 Nov 2007 23:07:19 +0000
parents 9e723abe8646
children 3baf6a2283da
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