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
67dca1b7
Commit
67dca1b7
authored
Jul 21, 2003
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed prototypes of VTableProcStruc callback functions.
parent
87be4641
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
crypt.c
dlls/advapi32/crypt.c
+4
-4
No files found.
dlls/advapi32/crypt.c
View file @
67dca1b7
...
@@ -142,7 +142,7 @@ static inline BOOL CRYPT_ANSIToUnicode(LPCSTR str, LPWSTR* wstr, int wstrsize)
...
@@ -142,7 +142,7 @@ static inline BOOL CRYPT_ANSIToUnicode(LPCSTR str, LPWSTR* wstr, int wstrsize)
}
}
/* These next 2 functions are used by the VTableProvStruc structure */
/* These next 2 functions are used by the VTableProvStruc structure */
BOOL
CRYPT_VerifyImage
(
LPCSTR
lpszImage
,
BYTE
*
pData
)
static
BOOL
CALLBACK
CRYPT_VerifyImage
(
LPCSTR
lpszImage
,
BYTE
*
pData
)
{
{
if
(
!
lpszImage
||
!
pData
)
if
(
!
lpszImage
||
!
pData
)
{
{
...
@@ -153,7 +153,7 @@ BOOL CRYPT_VerifyImage(LPCSTR lpszImage, BYTE* pData)
...
@@ -153,7 +153,7 @@ BOOL CRYPT_VerifyImage(LPCSTR lpszImage, BYTE* pData)
return
TRUE
;
return
TRUE
;
}
}
BOOL
CRYPT_ReturnhWnd
(
HWND
*
phWnd
)
static
BOOL
CALLBACK
CRYPT_ReturnhWnd
(
HWND
*
phWnd
)
{
{
if
(
!
phWnd
)
if
(
!
phWnd
)
return
FALSE
;
return
FALSE
;
...
@@ -210,8 +210,8 @@ PCRYPTPROV CRYPT_LoadProvider(PSTR pImage)
...
@@ -210,8 +210,8 @@ PCRYPTPROV CRYPT_LoadProvider(PSTR pImage)
* Does it need memory allocation?
* Does it need memory allocation?
*/
*/
provider
->
pVTable
->
Version
=
3
;
provider
->
pVTable
->
Version
=
3
;
provider
->
pVTable
->
pFuncVerifyImage
=
CRYPT_VerifyImage
;
provider
->
pVTable
->
pFuncVerifyImage
=
(
FARPROC
)
CRYPT_VerifyImage
;
provider
->
pVTable
->
pFuncReturnhWnd
=
CRYPT_ReturnhWnd
;
provider
->
pVTable
->
pFuncReturnhWnd
=
(
FARPROC
)
CRYPT_ReturnhWnd
;
provider
->
pVTable
->
dwProvType
=
0
;
provider
->
pVTable
->
dwProvType
=
0
;
provider
->
pVTable
->
pbContextInfo
=
NULL
;
provider
->
pVTable
->
pbContextInfo
=
NULL
;
provider
->
pVTable
->
cbContextInfo
=
0
;
provider
->
pVTable
->
cbContextInfo
=
0
;
...
...
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