changeset 3033:adcdd30d7e7d

expCoInitialize() added (requires for PIM1)
author arpi
date Tue, 20 Nov 2001 18:34:40 +0000
parents 6de073cf52b5
children 24d3dca4e813
files loader/win32.c
diffstat 1 files changed, 13 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/loader/win32.c	Tue Nov 20 18:07:13 2001 +0000
+++ b/loader/win32.c	Tue Nov 20 18:34:40 2001 +0000
@@ -3091,6 +3091,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
 {
@@ -3308,6 +3320,7 @@
 FF(CoCreateInstance, -1)
 FF(StringFromGUID2, -1)
 FF(CoCreateFreeThreadedMarshaler,-1)
+FF(CoInitialize, -1)
 };
 struct exports exp_crtdll[]={
 FF(memcpy, -1)