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
85f29f52
Commit
85f29f52
authored
Jun 08, 2007
by
Juan Lang
Committed by
Alexandre Julliard
Jun 11, 2007
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
crypt32: Add CryptMsg* stubs.
parent
6d8c6c5a
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
77 additions
and
5 deletions
+77
-5
Makefile.in
dlls/crypt32/Makefile.in
+1
-0
crypt32.spec
dlls/crypt32/crypt32.spec
+6
-5
msg.c
dlls/crypt32/msg.c
+70
-0
No files found.
dlls/crypt32/Makefile.in
View file @
85f29f52
...
...
@@ -15,6 +15,7 @@ C_SRCS = \
context.c
\
decode.c
\
encode.c
\
msg.c
\
oid.c
\
proplist.c
\
protectdata.c
\
...
...
dlls/crypt32/crypt32.spec
View file @
85f29f52
...
...
@@ -140,17 +140,18 @@
@ stdcall CryptMemFree(ptr)
@ stdcall CryptMemRealloc(ptr long)
@ stub CryptMsgCalculateEncodedLength
@ st
ub CryptMsgClose
@ st
dcall CryptMsgClose(ptr)
@ stub CryptMsgControl
@ stub CryptMsgCountersign
@ stub CryptMsgCountersignEncoded
@ stdcall CryptMsgDuplicate(ptr)
@ stub CryptMsgEncodeAndSignCTL
@ stub CryptMsgGetAndVerifySigner
@ st
ub CryptMsgGetParam
@ st
ub CryptMsgOpenToDecode
@ st
ub CryptMsgOpenToEncode
@ st
dcall CryptMsgGetParam(ptr long long ptr ptr)
@ st
dcall CryptMsgOpenToDecode(long long long long ptr ptr)
@ st
dcall CryptMsgOpenToEncode(long long long ptr str ptr)
@ stub CryptMsgSignCTL
@ st
ub CryptMsgUpdate
@ st
dcall CryptMsgUpdate(ptr ptr long long)
@ stub CryptMsgVerifyCountersignatureEncoded
@ stdcall CryptProtectData(ptr wstr ptr ptr ptr long ptr)
@ stdcall CryptQueryObject(long ptr long long long ptr ptr ptr ptr ptr ptr)
...
...
dlls/crypt32/msg.c
0 → 100644
View file @
85f29f52
/*
* Copyright 2007 Juan Lang
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
#include <stdarg.h>
#include "windef.h"
#include "winbase.h"
#include "wincrypt.h"
#include "wine/debug.h"
WINE_DEFAULT_DEBUG_CHANNEL
(
crypt
);
HCRYPTMSG
WINAPI
CryptMsgOpenToEncode
(
DWORD
dwMsgEncodingType
,
DWORD
dwFlags
,
DWORD
dwMsgType
,
const
void
*
pvMsgEncodeInfo
,
LPSTR
pszInnerContentObjID
,
PCMSG_STREAM_INFO
pStreamInfo
)
{
FIXME
(
"(%08x, %08x, %08x, %p, %s, %p): stub
\n
"
,
dwMsgEncodingType
,
dwFlags
,
dwMsgType
,
pvMsgEncodeInfo
,
debugstr_a
(
pszInnerContentObjID
),
pStreamInfo
);
return
(
HCRYPTMSG
)
1
;
}
HCRYPTMSG
WINAPI
CryptMsgOpenToDecode
(
DWORD
dwMsgEncodingType
,
DWORD
dwFlags
,
DWORD
dwMsgType
,
HCRYPTPROV
hCryptProv
,
PCERT_INFO
pRecipientInfo
,
PCMSG_STREAM_INFO
pStreamInfo
)
{
FIXME
(
"(%08x, %08x, %08x, %08lx, %p, %p): stub
\n
"
,
dwMsgEncodingType
,
dwFlags
,
dwMsgType
,
hCryptProv
,
pRecipientInfo
,
pStreamInfo
);
return
(
HCRYPTMSG
)
2
;
}
HCRYPTMSG
WINAPI
CryptMsgDuplicate
(
HCRYPTMSG
hCryptMsg
)
{
FIXME
(
"(%p): stub
\n
"
,
hCryptMsg
);
return
hCryptMsg
;
}
BOOL
WINAPI
CryptMsgClose
(
HCRYPTMSG
hCryptMsg
)
{
FIXME
(
"(%p): stub
\n
"
,
hCryptMsg
);
return
TRUE
;
}
BOOL
WINAPI
CryptMsgUpdate
(
HCRYPTMSG
hCryptMsg
,
const
BYTE
*
pbData
,
DWORD
cbData
,
BOOL
fFinal
)
{
FIXME
(
"(%p, %p, %d, %d): stub
\n
"
,
hCryptMsg
,
pbData
,
cbData
,
fFinal
);
return
TRUE
;
}
BOOL
WINAPI
CryptMsgGetParam
(
HCRYPTMSG
hCryptMsg
,
DWORD
dwParamType
,
DWORD
dwIndex
,
void
*
pvData
,
DWORD
*
pcbData
)
{
FIXME
(
"(%p, %d, %d, %p, %p): stub
\n
"
,
hCryptMsg
,
dwParamType
,
dwIndex
,
pvData
,
pcbData
);
return
FALSE
;
}
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