[Mplayer-cvslog] CVS: main/loader win32.c,1.30,1.31

Arpi of Ize arpi at mplayer.dev.hu
Tue Nov 20 19:34:47 CET 2001


Update of /cvsroot/mplayer/main/loader
In directory mplayer:/var/tmp.root/cvs-serv9719

Modified Files:
	win32.c 
Log Message:
expCoInitialize() added (requires for PIM1)

Index: win32.c
===================================================================
RCS file: /cvsroot/mplayer/main/loader/win32.c,v
retrieving revision 1.30
retrieving revision 1.31
diff -u -r1.30 -r1.31
--- win32.c	14 Nov 2001 19:06:58 -0000	1.30
+++ win32.c	20 Nov 2001 18:34:40 -0000	1.31
@@ -3087,6 +3087,18 @@
     return 1;
 }
 
+HRESULT WINAPI expCoInitialize(
+	LPVOID lpReserved	/* [in] pointer to win32 malloc interface
+                                   (obsolete, should be NULL) */
+)
+{
+  /*
+   * Just delegate to the newer method.
+   */
+  return 0; //CoInitializeEx(lpReserved, COINIT_APARTMENTTHREADED);
+}
+
+
 
 struct exports
 {
@@ -3304,6 +3316,7 @@
 FF(CoCreateInstance, -1)
 FF(StringFromGUID2, -1)
 FF(CoCreateFreeThreadedMarshaler,-1)
+FF(CoInitialize, -1)
 };
 struct exports exp_crtdll[]={
 FF(memcpy, -1)




More information about the MPlayer-cvslog mailing list