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
fbe37d1b
Commit
fbe37d1b
authored
Apr 05, 2007
by
Hans Leidekker
Committed by
Alexandre Julliard
Apr 06, 2007
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wintrust: Improve a number of stubs.
parent
fd098468
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
31 additions
and
10 deletions
+31
-10
crypt.c
dlls/wintrust/crypt.c
+30
-9
wintrust.spec
dlls/wintrust/wintrust.spec
+1
-1
No files found.
dlls/wintrust/crypt.c
View file @
fbe37d1b
...
...
@@ -42,15 +42,16 @@ WINE_DEFAULT_DEBUG_CHANNEL(wintrust);
*
* RETURNS
* Success: TRUE. catAdmin contains the context handle.
* Failure: FA
IL
.
* Failure: FA
LSE
.
*
*/
BOOL
WINAPI
CryptCATAdminAcquireContext
(
HCATADMIN
*
catAdmin
,
const
GUID
*
sysSystem
,
DWORD
dwFlags
)
{
FIXME
(
"%p %s %x
\n
"
,
catAdmin
,
debugstr_guid
(
sysSystem
),
dwFlags
);
SetLastError
(
ERROR_CALL_NOT_IMPLEMENTED
);
return
FALSE
;
if
(
catAdmin
)
*
catAdmin
=
(
HCATADMIN
)
0xdeadbeef
;
return
TRUE
;
}
/***********************************************************************
...
...
@@ -60,8 +61,9 @@ BOOL WINAPI CryptCATAdminCalcHashFromFileHandle(HANDLE hFile, DWORD* pcbHash,
BYTE
*
pbHash
,
DWORD
dwFlags
)
{
FIXME
(
"%p %p %p %x
\n
"
,
hFile
,
pcbHash
,
pbHash
,
dwFlags
);
SetLastError
(
ERROR_CALL_NOT_IMPLEMENTED
);
return
FALSE
;
if
(
pbHash
&&
pcbHash
)
memset
(
pbHash
,
0
,
*
pcbHash
);
return
TRUE
;
}
/***********************************************************************
...
...
@@ -74,7 +76,6 @@ HCATINFO WINAPI CryptCATAdminEnumCatalogFromHash(HCATADMIN hCatAdmin,
HCATINFO
*
phPrevCatInfo
)
{
FIXME
(
"%p %p %d %d %p
\n
"
,
hCatAdmin
,
pbHash
,
cbHash
,
dwFlags
,
phPrevCatInfo
);
SetLastError
(
ERROR_CALL_NOT_IMPLEMENTED
);
return
NULL
;
}
...
...
@@ -84,7 +85,7 @@ HCATINFO WINAPI CryptCATAdminEnumCatalogFromHash(HCATADMIN hCatAdmin,
* Release a catalog administrator context handle.
*
* PARAMS
* catAdmin [I]
Pointer to the c
ontext handle.
* catAdmin [I]
C
ontext handle.
* dwFlags [I] Reserved.
*
* RETURNS
...
...
@@ -95,8 +96,28 @@ HCATINFO WINAPI CryptCATAdminEnumCatalogFromHash(HCATADMIN hCatAdmin,
BOOL
WINAPI
CryptCATAdminReleaseContext
(
HCATADMIN
hCatAdmin
,
DWORD
dwFlags
)
{
FIXME
(
"%p %x
\n
"
,
hCatAdmin
,
dwFlags
);
SetLastError
(
ERROR_CALL_NOT_IMPLEMENTED
);
return
FALSE
;
return
TRUE
;
}
/***********************************************************************
* CryptCATAdminRemoveCatalog (WINTRUST.@)
*
* Remove a catalog file.
*
* PARAMS
* catAdmin [I] Context handle.
* pwszCatalogFile [I] Catalog file.
* dwFlags [I] Reserved.
*
* RETURNS
* Success: TRUE.
* Failure: FALSE.
*
*/
BOOL
WINAPI
CryptCATAdminRemoveCatalog
(
HCATADMIN
hCatAdmin
,
LPCWSTR
pwszCatalogFile
,
DWORD
dwFlags
)
{
FIXME
(
"%p %s %x
\n
"
,
hCatAdmin
,
debugstr_w
(
pwszCatalogFile
),
dwFlags
);
return
DeleteFileW
(
pwszCatalogFile
);
}
/***********************************************************************
...
...
dlls/wintrust/wintrust.spec
View file @
fbe37d1b
...
...
@@ -7,7 +7,7 @@
@ stub CryptCATAdminPauseServiceForBackup
@ stub CryptCATAdminReleaseCatalogContext
@ stdcall CryptCATAdminReleaseContext(long long)
@ st
ub CryptCATAdminRemoveCatalog
@ st
dcall CryptCATAdminRemoveCatalog(ptr wstr long)
@ stub CryptCATAdminResolveCatalogPath
@ stub CryptCATCDFClose
@ stub CryptCATCDFEnumAttributes
...
...
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