Commit 9e23b509 authored by Francois Gouget's avatar Francois Gouget Committed by Alexandre Julliard

Added some missing 'SysAllocString' prototypes.

Added some missing 'TypeLib' prototypes.
parent 9046658f
......@@ -18,13 +18,21 @@ struct tagVARIANT;
extern "C" {
#endif
/*
* BSTR API
*/
BSTR WINAPI SysAllocString(const OLECHAR*);
BSTR WINAPI SysAllocStringByteLen(char*,int);
BSTR WINAPI SysAllocStringLen(const OLECHAR*,UINT);
void WINAPI SysFreeString(BSTR);
INT WINAPI SysReAllocString(LPBSTR,const OLECHAR*);
VOID WINAPI SysFreeString(BSTR);
BSTR WINAPI SysAllocStringLen(const OLECHAR*, UINT);
int WINAPI SysReAllocStringLen(BSTR*, const OLECHAR*, UINT);
int WINAPI SysReAllocStringLen(BSTR*,const OLECHAR*,UINT);
int WINAPI SysStringByteLen(BSTR);
int WINAPI SysStringLen(BSTR);
/*****************************************************************
* ErrorInfo API
*/
......@@ -507,8 +515,6 @@ typedef enum tagREGKIND
} REGKIND;
HRESULT WINAPI LoadTypeLib(OLECHAR *szFile, ITypeLib **pptLib);
HRESULT WINAPI LoadTypeLibEx(LPOLESTR szFile, REGKIND regKind, ITypeLib **pptLib);
INT WINAPI DosDateTimeToVariantTime(USHORT,USHORT,DATE*);
HRESULT WINAPI DispGetParam(DISPPARAMS* pdispparams, UINT position,
......@@ -531,4 +537,19 @@ HRESULT WINAPI DispCallFunc(void* pvInstance, ULONG oVft, CALLCONV cc,
#define VARCMP_GT 2
#define VARCMP_NULL 3
/*
* TypeLib API
*/
HRESULT WINAPI CreateTypeLib(SYSKIND,const OLECHAR*,ICreateTypeLib**);
HRESULT WINAPI CreateTypeLib2(SYSKIND,LPCOLESTR,ICreateTypeLib2**);
HRESULT WINAPI LoadRegTypeLib(REFGUID,WORD,WORD,LCID,ITypeLib**);
HRESULT WINAPI LoadTypeLib(const OLECHAR*,ITypeLib**);
HRESULT WINAPI LoadTypeLibEx(LPCOLESTR,REGKIND,ITypeLib**);
HRESULT WINAPI QueryPathOfRegTypeLib(REFGUID,WORD,WORD,LCID,LPBSTR);
HRESULT WINAPI RegisterTypeLib(ITypeLib*,OLECHAR*,OLECHAR*);
HRESULT WINAPI UnRegisterTypeLib(REFGUID,WORD,WORD,LCID,SYSKIND);
#endif /*__WINE_OLEAUTO_H*/
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment