Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
febe90b2
Commit
febe90b2
authored
Nov 04, 2005
by
Mike McCormack
Committed by
Alexandre Julliard
Nov 04, 2005
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Implement advapi32.CommandLineFromMsiDescriptor. It's a wrapper for
msi.MsiProvideComponentFromDescriptor.
parent
3de9f4c6
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
20 additions
and
5 deletions
+20
-5
advapi.c
dlls/advapi32/advapi.c
+19
-4
advapi32.spec
dlls/advapi32/advapi32.spec
+1
-1
No files found.
dlls/advapi32/advapi.c
View file @
febe90b2
...
...
@@ -266,9 +266,24 @@ BOOL WINAPI LogonUserW( LPCWSTR lpszUsername, LPCWSTR lpszDomain, LPCWSTR lpszPa
return
TRUE
;
}
DWORD
WINAPI
CommandLineFromMsiDescriptor
(
WCHAR
*
Descriptor
,
WCHAR
*
CommandLine
,
DWORD
*
CommandLineLength
)
typedef
UINT
(
WINAPI
*
fnMsiProvideComponentFromDescriptor
)(
LPCWSTR
,
LPWSTR
,
DWORD
*
,
DWORD
*
);
DWORD
WINAPI
CommandLineFromMsiDescriptor
(
WCHAR
*
szDescriptor
,
WCHAR
*
szCommandLine
,
DWORD
*
pcchCommandLine
)
{
FIXME
(
"stub (%s)
\n
"
,
debugstr_w
(
Descriptor
));
return
ERROR_CALL_NOT_IMPLEMENTED
;
static
const
WCHAR
szMsi
[]
=
{
'm'
,
's'
,
'i'
,
0
};
fnMsiProvideComponentFromDescriptor
mpcfd
;
HMODULE
hmsi
;
UINT
r
=
ERROR_CALL_NOT_IMPLEMENTED
;
TRACE
(
"%s %p %p
\n
"
,
debugstr_w
(
szDescriptor
),
szCommandLine
,
pcchCommandLine
);
hmsi
=
LoadLibraryW
(
szMsi
);
if
(
!
hmsi
)
return
r
;
mpcfd
=
(
void
*
)
GetProcAddress
(
hmsi
,
"MsiProvideComponentFromDescriptorW"
);
if
(
mpcfd
)
r
=
mpcfd
(
szDescriptor
,
szCommandLine
,
pcchCommandLine
,
NULL
);
FreeLibrary
(
hmsi
);
return
r
;
}
dlls/advapi32/advapi32.spec
View file @
febe90b2
...
...
@@ -62,7 +62,7 @@
@ stdcall CloseEventLog (long)
@ stdcall CloseServiceHandle(long)
# @ stub CloseTrace
@ stdcall CommandLineFromMsiDescriptor(wstr
ws
tr ptr)
@ stdcall CommandLineFromMsiDescriptor(wstr
p
tr ptr)
# @ stub ComputeAccessTokenFromCodeAuthzLevel
@ stdcall ControlService(long long ptr)
# @ stub ControlTraceA
...
...
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