Here's a patch to add prototypes for RegisterTypeLibForUser() and
UnRegisterTypeLibForUser() to oleauto.h.

/Kalle

---
 mingw-w64-headers/include/oleauto.h | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/mingw-w64-headers/include/oleauto.h 
b/mingw-w64-headers/include/oleauto.h
index 62aa45499..a5b5165b4 100644
--- a/mingw-w64-headers/include/oleauto.h
+++ b/mingw-w64-headers/include/oleauto.h
@@ -596,7 +596,9 @@ WINOLEAUTAPI LoadTypeLibEx(LPCOLESTR szFile,REGKIND 
regkind,ITypeLib **pptlib);
 WINOLEAUTAPI LoadRegTypeLib(REFGUID rguid,WORD wVerMajor,WORD wVerMinor,LCID 
lcid,ITypeLib **pptlib);
 WINOLEAUTAPI QueryPathOfRegTypeLib(REFGUID guid,USHORT wMaj,USHORT wMin,LCID 
lcid,LPBSTR lpbstrPathName);
 WINOLEAUTAPI RegisterTypeLib(ITypeLib *ptlib,LPCOLESTR szFullPath,LPCOLESTR 
szHelpDir);
+WINOLEAUTAPI RegisterTypeLibForUser(ITypeLib *ptlib,LPCOLESTR 
szFullPath,LPCOLESTR szHelpDir);
 WINOLEAUTAPI UnRegisterTypeLib(REFGUID libID,WORD wVerMajor,WORD 
wVerMinor,LCID lcid,SYSKIND syskind);
+WINOLEAUTAPI UnRegisterTypeLibForUser(REFGUID libID,WORD wVerMajor,WORD 
wVerMinor,LCID lcid,SYSKIND syskind);
 WINOLEAUTAPI CreateTypeLib(SYSKIND syskind,LPCOLESTR szFile,ICreateTypeLib 
**ppctlib);
 WINOLEAUTAPI CreateTypeLib2(SYSKIND syskind,LPCOLESTR szFile,ICreateTypeLib2 
**ppctlib);
 


_______________________________________________
Mingw-w64-public mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public

Reply via email to