view loader/wine/objbase.h @ 34038:422eb76aee70

stream_bluray: switch to new libbluray API The last libbluray API change is commit 17896a40e6ddbe12473db77549ff0207ef748a64 Date: Mon Jun 13 20:36:16 2011 +0300 previous libbluray versions are no longer supported.
author diego
date Fri, 23 Sep 2011 14:26:20 +0000
parents 837cd9762b4e
children
line wrap: on
line source

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