[Mplayer-cvslog] CVS: main/loader com.h,1.2,1.3
Arpi of Ize
arpi at mplayer.dev.hu
Thu Aug 16 02:44:42 CEST 2001
- Previous message: [Mplayer-cvslog] CVS: main/loader win32.c,1.16,1.17
- Next message: [Mplayer-cvslog] CVS: main/loader/DirectShow DS_AudioDecoder.cpp,NONE,1.1 DS_AudioDecoder.h,NONE,1.1 DS_VideoDecoder.cpp,NONE,1.1 DS_VideoDecoder.h,NONE,1.1 libwin32.h,NONE,1.1 DS_AudioDec.cpp,1.4,1.5 DS_Filter.cpp,1.7,1.8 DS_Filter.h,1.4,1.5 DS_VideoDec.cpp,1.9,1.10 Makefile,1.10,1.11 allocator.cpp,1.2,1.3 allocator.h,1.2,1.3 cmediasample.cpp,1.3,1.4 cmediasample.h,1.2,1.3 guids.h,1.1.1.1,1.2 inputpin.cpp,1.1.1.1,1.2 inputpin.h,1.1.1.1,1.2 interfaces.h,1.3,1.4 iunk.h,1.1.1.1,1.2 outputpin.cpp,1.3,1.4 outputpin.h,1.2,1.3 BitmapInfo.h,1.4,NONE default.h,1.4,NONE except.h,1.1.1.1,NONE formats.h,1.4,NONE
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /cvsroot/mplayer/main/loader
In directory mplayer:/var/tmp.root/cvs-serv15243
Modified Files:
com.h
Log Message:
updated
Index: com.h
===================================================================
RCS file: /cvsroot/mplayer/main/loader/com.h,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- com.h 7 Apr 2001 16:59:35 -0000 1.2
+++ com.h 16 Aug 2001 00:44:40 -0000 1.3
@@ -1,9 +1,13 @@
+#ifndef AVIFILE_COM_H
+#define AVIFILE_COM_H
+
+#include <inttypes.h>
+
/**
* Internal functions and structures for COM emulation code.
*/
-#ifndef COM_H
-#define COM_H
+#ifndef WIN32
#ifdef __cplusplus
extern "C" {
@@ -12,22 +16,26 @@
void* CoTaskMemAlloc(unsigned long cb);
void CoTaskMemFree(void* cb);
+#ifndef GUID_TYPE
+#define GUID_TYPE
typedef struct
{
- long f1;
- short f2;
- short f3;
- char f4[8];
+ uint32_t f1;
+ uint16_t f2;
+ uint16_t f3;
+ uint8_t f4[8];
} GUID;
+#endif
extern GUID IID_IUnknown;
extern GUID IID_IClassFactory;
typedef long (*GETCLASSOBJECT) (GUID* clsid, GUID* iid, void** ppv);
int RegisterComClass(GUID* clsid, GETCLASSOBJECT gcs);
+int UnregisterComClass(GUID* clsid, GETCLASSOBJECT gcs);
#ifndef STDCALL
-#define STDCALL __attribute__((__stdcall__))
+#define STDCALL __attribute__((__stdcall__))
#endif
struct IUnknown;
@@ -56,12 +64,13 @@
struct IClassFactory_vt* vt;
};
-long CoCreateInstance(GUID* rclsid, struct IUnknown* pUnkOuter,
- long dwClsContext, GUID* riid, void** ppv);
+long CoCreateInstance(GUID* rclsid, struct IUnknown* pUnkOuter,
+ long dwClsContext, GUID* riid, void** ppv);
#ifdef __cplusplus
};
-#endif
+#endif /* __cplusplus */
-#endif
+#endif /* WIN32 */
+#endif /* AVIFILE_COM_H */
- Previous message: [Mplayer-cvslog] CVS: main/loader win32.c,1.16,1.17
- Next message: [Mplayer-cvslog] CVS: main/loader/DirectShow DS_AudioDecoder.cpp,NONE,1.1 DS_AudioDecoder.h,NONE,1.1 DS_VideoDecoder.cpp,NONE,1.1 DS_VideoDecoder.h,NONE,1.1 libwin32.h,NONE,1.1 DS_AudioDec.cpp,1.4,1.5 DS_Filter.cpp,1.7,1.8 DS_Filter.h,1.4,1.5 DS_VideoDec.cpp,1.9,1.10 Makefile,1.10,1.11 allocator.cpp,1.2,1.3 allocator.h,1.2,1.3 cmediasample.cpp,1.3,1.4 cmediasample.h,1.2,1.3 guids.h,1.1.1.1,1.2 inputpin.cpp,1.1.1.1,1.2 inputpin.h,1.1.1.1,1.2 interfaces.h,1.3,1.4 iunk.h,1.1.1.1,1.2 outputpin.cpp,1.3,1.4 outputpin.h,1.2,1.3 BitmapInfo.h,1.4,NONE default.h,1.4,NONE except.h,1.1.1.1,NONE formats.h,1.4,NONE
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the MPlayer-cvslog
mailing list