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
4a2e02d5
Commit
4a2e02d5
authored
Jan 17, 2009
by
Paul Vriens
Committed by
Alexandre Julliard
Jan 19, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wintrust: Add some CryptCATCDF stubs.
parent
669aa20c
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
72 additions
and
5 deletions
+72
-5
crypt.c
dlls/wintrust/crypt.c
+48
-0
wintrust.spec
dlls/wintrust/wintrust.spec
+4
-4
mscat.h
include/mscat.h
+20
-1
No files found.
dlls/wintrust/crypt.c
View file @
4a2e02d5
...
...
@@ -961,6 +961,54 @@ BOOL WINAPI CryptSIPCreateIndirectData(SIP_SUBJECTINFO* pSubjectInfo, DWORD* pcb
return
FALSE
;
}
/***********************************************************************
* CryptCATCDFClose (WINTRUST.@)
*/
BOOL
WINAPI
CryptCATCDFClose
(
CRYPTCATCDF
*
pCDF
)
{
FIXME
(
"(%p) stub
\n
"
,
pCDF
);
return
FALSE
;
}
/***********************************************************************
* CryptCATCDFEnumCatAttributes (WINTRUST.@)
*/
CRYPTCATATTRIBUTE
*
WINAPI
CryptCATCDFEnumCatAttributes
(
CRYPTCATCDF
*
pCDF
,
CRYPTCATATTRIBUTE
*
pPrevAttr
,
PFN_CDF_PARSE_ERROR_CALLBACK
pfnParseError
)
{
FIXME
(
"(%p %p %p) stub
\n
"
,
pCDF
,
pPrevAttr
,
pfnParseError
);
return
NULL
;
}
/***********************************************************************
* CryptCATCDFEnumMembersByCDFTagEx (WINTRUST.@)
*/
LPWSTR
WINAPI
CryptCATCDFEnumMembersByCDFTagEx
(
CRYPTCATCDF
*
pCDF
,
LPWSTR
pwszPrevCDFTag
,
PFN_CDF_PARSE_ERROR_CALLBACK
pfnParseError
,
CRYPTCATMEMBER
**
ppMember
,
BOOL
fContinueOnError
,
LPVOID
pvReserved
)
{
FIXME
(
"(%p %s %p %p %d %p) stub
\n
"
,
pCDF
,
debugstr_w
(
pwszPrevCDFTag
),
pfnParseError
,
ppMember
,
fContinueOnError
,
pvReserved
);
return
NULL
;
}
/***********************************************************************
* CryptCATCDFOpen (WINTRUST.@)
*/
CRYPTCATCDF
*
WINAPI
CryptCATCDFOpen
(
LPWSTR
pwszFilePath
,
PFN_CDF_PARSE_ERROR_CALLBACK
pfnParseError
)
{
FIXME
(
"(%s %p) stub
\n
"
,
debugstr_w
(
pwszFilePath
),
pfnParseError
);
return
NULL
;
}
static
BOOL
WINTRUST_GetSignedMsgFromPEFile
(
SIP_SUBJECTINFO
*
pSubjectInfo
,
DWORD
*
pdwEncodingType
,
DWORD
dwIndex
,
DWORD
*
pcbSignedDataMsg
,
BYTE
*
pbSignedDataMsg
)
...
...
dlls/wintrust/wintrust.spec
View file @
4a2e02d5
...
...
@@ -9,14 +9,14 @@
@ stdcall CryptCATAdminReleaseContext(long long)
@ stdcall CryptCATAdminRemoveCatalog(ptr wstr long)
@ stdcall CryptCATAdminResolveCatalogPath(ptr wstr ptr long)
@ st
ub CryptCATCDFClose
@ st
dcall CryptCATCDFClose(ptr)
@ stub CryptCATCDFEnumAttributes
@ stub CryptCATCDFEnumAttributesWithCDFTag
@ st
ub CryptCATCDFEnumCatAttributes
@ st
dcall CryptCATCDFEnumCatAttributes(ptr ptr ptr)
@ stub CryptCATCDFEnumMembers
@ stub CryptCATCDFEnumMembersByCDFTag
@ st
ub CryptCATCDFEnumMembersByCDFTagEx
@ st
ub CryptCATCDFOpen
@ st
dcall CryptCATCDFEnumMembersByCDFTagEx(ptr wstr ptr ptr long ptr)
@ st
dcall CryptCATCDFOpen(wstr ptr)
@ stdcall CryptCATCatalogInfoFromContext(ptr ptr long)
@ stdcall CryptCATClose(long)
@ stdcall CryptCATEnumerateAttr(ptr ptr ptr)
...
...
include/mscat.h
View file @
4a2e02d5
...
...
@@ -71,8 +71,20 @@ typedef struct CATALOG_INFO_
WCHAR
wszCatalogFile
[
MAX_PATH
];
}
CATALOG_INFO
;
typedef
struct
CRYPTCATCDF_
{
DWORD
cbStruct
;
HANDLE
hFile
;
DWORD
dwCurFilePos
;
DWORD
dwLastMemberOffset
;
BOOL
fEOF
;
LPWSTR
pwszResultDir
;
HANDLE
hCATStore
;
}
CRYPTCATCDF
;
#include <poppack.h>
typedef
void
(
WINAPI
*
PFN_CDF_PARSE_ERROR_CALLBACK
)(
DWORD
,
DWORD
,
WCHAR
*
);
BOOL
WINAPI
CryptCATAdminAcquireContext
(
HCATADMIN
*
,
const
GUID
*
,
DWORD
);
HCATINFO
WINAPI
CryptCATAdminAddCatalog
(
HCATADMIN
,
PWSTR
,
PWSTR
,
DWORD
);
...
...
@@ -83,7 +95,14 @@ BOOL WINAPI CryptCATAdminReleaseContext(HCATADMIN,DWORD);
BOOL
WINAPI
CryptCATAdminRemoveCatalog
(
HCATADMIN
,
LPCWSTR
,
DWORD
);
BOOL
WINAPI
CryptCATAdminResolveCatalogPath
(
HCATADMIN
,
WCHAR
*
,
CATALOG_INFO
*
,
DWORD
);
BOOL
WINAPI
CryptCATCatalogInfoFromContext
(
HCATINFO
,
CATALOG_INFO
*
,
DWORD
);
BOOL
WINAPI
CryptCATClose
(
HANDLE
);
BOOL
WINAPI
CryptCATCDFClose
(
CRYPTCATCDF
*
);
CRYPTCATATTRIBUTE
*
WINAPI
CryptCATCDFEnumCatAttributes
(
CRYPTCATCDF
*
,
CRYPTCATATTRIBUTE
*
,
PFN_CDF_PARSE_ERROR_CALLBACK
);
LPWSTR
WINAPI
CryptCATCDFEnumMembersByCDFTagEx
(
CRYPTCATCDF
*
,
LPWSTR
,
PFN_CDF_PARSE_ERROR_CALLBACK
,
CRYPTCATMEMBER
**
,
BOOL
,
LPVOID
);
CRYPTCATCDF
*
WINAPI
CryptCATCDFOpen
(
LPWSTR
,
PFN_CDF_PARSE_ERROR_CALLBACK
);
BOOL
WINAPI
CryptCATClose
(
HANDLE
);
CRYPTCATATTRIBUTE
*
WINAPI
CryptCATEnumerateAttr
(
HANDLE
,
CRYPTCATMEMBER
*
,
CRYPTCATATTRIBUTE
*
);
CRYPTCATATTRIBUTE
*
WINAPI
CryptCATEnumerateCatAttr
(
HANDLE
,
CRYPTCATATTRIBUTE
*
);
CRYPTCATMEMBER
*
WINAPI
CryptCATEnumerateMember
(
HANDLE
,
CRYPTCATMEMBER
*
);
...
...
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