mirror of
https://github.com/reactos/wine.git
synced 2025-03-04 02:37:09 +00:00
setupapi: Implement pSetupInstallCatalog.
This commit is contained in:
parent
648094f119
commit
7392162ed1
@ -1127,8 +1127,27 @@ DWORD WINAPI InstallCatalog( LPCSTR catalog, LPCSTR basename, LPSTR fullname )
|
||||
*/
|
||||
DWORD WINAPI pSetupInstallCatalog( LPCWSTR catalog, LPCWSTR basename, LPWSTR fullname )
|
||||
{
|
||||
FIXME("%s, %s, %p\n", debugstr_w(catalog), debugstr_w(basename), fullname);
|
||||
return 0;
|
||||
HCATADMIN admin;
|
||||
HCATINFO cat;
|
||||
|
||||
TRACE ("%s, %s, %p\n", debugstr_w(catalog), debugstr_w(basename), fullname);
|
||||
|
||||
if (!CryptCATAdminAcquireContext(&admin,NULL,0))
|
||||
return GetLastError();
|
||||
|
||||
if (!(cat = CryptCATAdminAddCatalog( admin, (PWSTR)catalog, (PWSTR)basename, 0 )))
|
||||
{
|
||||
DWORD rc = GetLastError();
|
||||
CryptCATAdminReleaseContext(admin, 0);
|
||||
return rc;
|
||||
}
|
||||
CryptCATAdminReleaseCatalogContext(admin, cat, 0);
|
||||
CryptCATAdminReleaseContext(admin,0);
|
||||
|
||||
if (fullname)
|
||||
FIXME("not returning full installed catalog path\n");
|
||||
|
||||
return NO_ERROR;
|
||||
}
|
||||
|
||||
static UINT detect_compression_type( LPCWSTR file )
|
||||
|
Loading…
x
Reference in New Issue
Block a user