Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
f4fa417b
Commit
f4fa417b
authored
Jul 30, 2010
by
Andrew Nguyen
Committed by
Alexandre Julliard
Jul 30, 2010
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
oleaut32: Partially implement RegisterTypeLibForUser.
parent
10356abd
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
25 additions
and
0 deletions
+25
-0
oleaut32.spec
dlls/oleaut32/oleaut32.spec
+1
-0
typelib.c
dlls/oleaut32/typelib.c
+23
-0
oleauto.h
include/oleauto.h
+1
-0
No files found.
dlls/oleaut32/oleaut32.spec
View file @
f4fa417b
...
...
@@ -410,6 +410,7 @@
439 stdcall VarUI8FromUI2(long ptr)
440 stdcall VarUI8FromUI4(long ptr)
441 stdcall VarUI8FromDec(long ptr)
442 stdcall RegisterTypeLibForUser(ptr wstr wstr)
@ stdcall -private DllCanUnloadNow()
@ stdcall -private DllGetClassObject(ptr ptr ptr)
...
...
dlls/oleaut32/typelib.c
View file @
f4fa417b
...
...
@@ -903,6 +903,29 @@ end:
return
result
;
}
/******************************************************************************
* RegisterTypeLibForUser [OLEAUT32.442]
* Adds information about a type library to the user registry
* NOTES
* Docs: ITypeLib FAR * ptlib
* Docs: OLECHAR FAR* szFullPath
* Docs: OLECHAR FAR* szHelpDir
*
* RETURNS
* Success: S_OK
* Failure: Status
*/
HRESULT
WINAPI
RegisterTypeLibForUser
(
ITypeLib
*
ptlib
,
/* [in] Pointer to the library*/
OLECHAR
*
szFullPath
,
/* [in] full Path of the library*/
OLECHAR
*
szHelpDir
)
/* [in] dir to the helpfile for the library,
may be NULL*/
{
FIXME
(
"(%p, %s, %s) registering the typelib system-wide
\n
"
,
ptlib
,
debugstr_w
(
szFullPath
),
debugstr_w
(
szHelpDir
));
return
RegisterTypeLib
(
ptlib
,
szFullPath
,
szHelpDir
);
}
/*======================= ITypeLib implementation =======================*/
typedef
struct
tagTLBCustData
...
...
include/oleauto.h
View file @
f4fa417b
...
...
@@ -750,6 +750,7 @@ 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
);
HRESULT
WINAPI
RegisterTypeLibForUser
(
ITypeLib
*
,
OLECHAR
*
,
OLECHAR
*
);
VOID
WINAPI
ClearCustData
(
LPCUSTDATA
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment