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
e9cac261
Commit
e9cac261
authored
Aug 15, 2005
by
Vincent Béron
Committed by
Alexandre Julliard
Aug 15, 2005
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Change some TRACEing formats to make more sense.
parent
8b6d8dbd
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
29 additions
and
29 deletions
+29
-29
crypt.c
dlls/advapi32/crypt.c
+25
-25
phone.c
dlls/tapi32/phone.c
+3
-3
dde_client.c
dlls/user/dde_client.c
+1
-1
No files found.
dlls/advapi32/crypt.c
View file @
e9cac261
...
...
@@ -537,7 +537,7 @@ BOOL WINAPI CryptReleaseContext (HCRYPTPROV hProv, DWORD dwFlags)
PCRYPTPROV
pProv
=
(
PCRYPTPROV
)
hProv
;
BOOL
ret
=
TRUE
;
TRACE
(
"(0x%lx, %08l
d
)
\n
"
,
hProv
,
dwFlags
);
TRACE
(
"(0x%lx, %08l
x
)
\n
"
,
hProv
,
dwFlags
);
if
(
!
pProv
)
{
...
...
@@ -817,7 +817,7 @@ BOOL WINAPI CryptDuplicateHash (HCRYPTHASH hHash, DWORD *pdwReserved,
PCRYPTPROV
prov
;
PCRYPTHASH
orghash
,
newhash
;
TRACE
(
"(0x%lx, %p, %08l
d
, %p)
\n
"
,
hHash
,
pdwReserved
,
dwFlags
,
phHash
);
TRACE
(
"(0x%lx, %p, %08l
x
, %p)
\n
"
,
hHash
,
pdwReserved
,
dwFlags
,
phHash
);
orghash
=
(
PCRYPTHASH
)
hHash
;
if
(
!
orghash
||
pdwReserved
||
!
phHash
||
!
orghash
->
pProvider
||
...
...
@@ -863,7 +863,7 @@ BOOL WINAPI CryptDuplicateKey (HCRYPTKEY hKey, DWORD *pdwReserved, DWORD dwFlags
PCRYPTPROV
prov
;
PCRYPTKEY
orgkey
,
newkey
;
TRACE
(
"(0x%lx, %p, %08l
d
, %p)
\n
"
,
hKey
,
pdwReserved
,
dwFlags
,
phKey
);
TRACE
(
"(0x%lx, %p, %08l
x
, %p)
\n
"
,
hKey
,
pdwReserved
,
dwFlags
,
phKey
);
orgkey
=
(
PCRYPTKEY
)
hKey
;
if
(
!
orgkey
||
pdwReserved
||
!
phKey
||
!
orgkey
->
pProvider
||
...
...
@@ -919,7 +919,7 @@ BOOL WINAPI CryptEncrypt (HCRYPTKEY hKey, HCRYPTHASH hHash, BOOL Final,
PCRYPTKEY
key
=
(
PCRYPTKEY
)
hKey
;
PCRYPTHASH
hash
=
(
PCRYPTHASH
)
hHash
;
TRACE
(
"(0x%lx, 0x%lx, %d, %08l
d
, %p, %p, %ld)
\n
"
,
hKey
,
hHash
,
Final
,
dwFlags
,
pbData
,
pdwDataLen
,
dwBufLen
);
TRACE
(
"(0x%lx, 0x%lx, %d, %08l
x
, %p, %p, %ld)
\n
"
,
hKey
,
hHash
,
Final
,
dwFlags
,
pbData
,
pdwDataLen
,
dwBufLen
);
if
(
!
key
||
!
pdwDataLen
||
!
key
->
pProvider
||
key
->
pProvider
->
dwMagic
!=
MAGIC_CRYPTPROV
)
CRYPT_ReturnLastError
(
ERROR_INVALID_PARAMETER
);
...
...
@@ -1024,7 +1024,7 @@ BOOL WINAPI CryptEnumProvidersA (DWORD dwIndex, DWORD *pdwReserved,
DWORD
strlen
;
BOOL
ret
;
/* = FALSE; */
TRACE
(
"(%ld, %p, %08l
d
, %p, %p, %p)
\n
"
,
dwIndex
,
pdwReserved
,
dwFlags
,
TRACE
(
"(%ld, %p, %08l
x
, %p, %p, %p)
\n
"
,
dwIndex
,
pdwReserved
,
dwFlags
,
pdwProvType
,
pszProvName
,
pcbProvName
);
strlen
=
*
pcbProvName
*
sizeof
(
WCHAR
);
...
...
@@ -1070,7 +1070,7 @@ BOOL WINAPI CryptEnumProviderTypesA (DWORD dwIndex, DWORD *pdwReserved,
PSTR
keyname
,
ch
;
DWORD
result
;
TRACE
(
"(%ld, %p, %08l
d
, %p, %p, %p)
\n
"
,
dwIndex
,
pdwReserved
,
TRACE
(
"(%ld, %p, %08l
x
, %p, %p, %p)
\n
"
,
dwIndex
,
pdwReserved
,
dwFlags
,
pdwProvType
,
pszTypeName
,
pcbTypeName
);
if
(
pdwReserved
||
!
pdwProvType
||
!
pcbTypeName
)
...
...
@@ -1119,7 +1119,7 @@ BOOL WINAPI CryptEnumProviderTypesW (DWORD dwIndex, DWORD *pdwReserved,
DWORD
strlen
;
BOOL
ret
;
TRACE
(
"(%ld, %p, %08l
d
, %p, %p, %p)
\n
"
,
dwIndex
,
pdwReserved
,
dwFlags
,
TRACE
(
"(%ld, %p, %08l
x
, %p, %p, %p)
\n
"
,
dwIndex
,
pdwReserved
,
dwFlags
,
pdwProvType
,
pszTypeName
,
pcbTypeName
);
strlen
=
*
pcbTypeName
/
sizeof
(
WCHAR
);
if
(
pszTypeName
&&
!
(
str
=
CRYPT_Alloc
(
strlen
))
)
...
...
@@ -1161,7 +1161,7 @@ BOOL WINAPI CryptExportKey (HCRYPTKEY hKey, HCRYPTKEY hExpKey, DWORD dwBlobType,
PCRYPTPROV
prov
;
PCRYPTKEY
key
=
(
PCRYPTKEY
)
hKey
,
expkey
=
(
PCRYPTKEY
)
hExpKey
;
TRACE
(
"(0x%lx, 0x%lx, %ld, %08l
d
, %p, %p)
\n
"
,
hKey
,
hExpKey
,
dwBlobType
,
dwFlags
,
pbData
,
pdwDataLen
);
TRACE
(
"(0x%lx, 0x%lx, %ld, %08l
x
, %p, %p)
\n
"
,
hKey
,
hExpKey
,
dwBlobType
,
dwFlags
,
pbData
,
pdwDataLen
);
if
(
!
key
||
!
pdwDataLen
||
!
key
->
pProvider
||
key
->
pProvider
->
dwMagic
!=
MAGIC_CRYPTPROV
)
CRYPT_ReturnLastError
(
ERROR_INVALID_PARAMETER
);
...
...
@@ -1191,7 +1191,7 @@ BOOL WINAPI CryptGenKey (HCRYPTPROV hProv, ALG_ID Algid, DWORD dwFlags, HCRYPTKE
PCRYPTPROV
prov
=
(
PCRYPTPROV
)
hProv
;
PCRYPTKEY
key
;
TRACE
(
"(0x%lx, %d, %08l
d
, %p)
\n
"
,
hProv
,
Algid
,
dwFlags
,
phKey
);
TRACE
(
"(0x%lx, %d, %08l
x
, %p)
\n
"
,
hProv
,
Algid
,
dwFlags
,
phKey
);
if
(
!
prov
)
CRYPT_ReturnLastError
(
ERROR_INVALID_HANDLE
);
...
...
@@ -1282,7 +1282,7 @@ BOOL WINAPI CryptGetDefaultProviderW (DWORD dwProvType, DWORD *pdwReserved,
DWORD
strlen
;
BOOL
ret
=
FALSE
;
TRACE
(
"(%ld, %p, %08l
d
, %p, %p)
\n
"
,
dwProvType
,
pdwReserved
,
dwFlags
,
pszProvName
,
pcbProvName
);
TRACE
(
"(%ld, %p, %08l
x
, %p, %p)
\n
"
,
dwProvType
,
pdwReserved
,
dwFlags
,
pszProvName
,
pcbProvName
);
strlen
=
*
pcbProvName
/
sizeof
(
WCHAR
);
if
(
pszProvName
&&
!
(
str
=
CRYPT_Alloc
(
strlen
))
)
...
...
@@ -1322,7 +1322,7 @@ BOOL WINAPI CryptGetHashParam (HCRYPTHASH hHash, DWORD dwParam, BYTE *pbData,
PCRYPTPROV
prov
;
PCRYPTHASH
hash
=
(
PCRYPTHASH
)
hHash
;
TRACE
(
"(0x%lx, %ld, %p, %p, %08l
d
)
\n
"
,
hHash
,
dwParam
,
pbData
,
pdwDataLen
,
dwFlags
);
TRACE
(
"(0x%lx, %ld, %p, %p, %08l
x
)
\n
"
,
hHash
,
dwParam
,
pbData
,
pdwDataLen
,
dwFlags
);
if
(
!
hash
||
!
pdwDataLen
||
!
hash
->
pProvider
||
hash
->
pProvider
->
dwMagic
!=
MAGIC_CRYPTPROV
)
CRYPT_ReturnLastError
(
ERROR_INVALID_PARAMETER
);
...
...
@@ -1357,7 +1357,7 @@ BOOL WINAPI CryptGetKeyParam (HCRYPTKEY hKey, DWORD dwParam, BYTE *pbData,
PCRYPTPROV
prov
;
PCRYPTKEY
key
=
(
PCRYPTKEY
)
hKey
;
TRACE
(
"(0x%lx, %ld, %p, %p, %08l
d
)
\n
"
,
hKey
,
dwParam
,
pbData
,
pdwDataLen
,
dwFlags
);
TRACE
(
"(0x%lx, %ld, %p, %p, %08l
x
)
\n
"
,
hKey
,
dwParam
,
pbData
,
pdwDataLen
,
dwFlags
);
if
(
!
key
||
!
pdwDataLen
||
!
key
->
pProvider
||
key
->
pProvider
->
dwMagic
!=
MAGIC_CRYPTPROV
)
CRYPT_ReturnLastError
(
ERROR_INVALID_PARAMETER
);
...
...
@@ -1391,7 +1391,7 @@ BOOL WINAPI CryptGetProvParam (HCRYPTPROV hProv, DWORD dwParam, BYTE *pbData,
{
PCRYPTPROV
prov
=
(
PCRYPTPROV
)
hProv
;
TRACE
(
"(0x%lx, %ld, %p, %p, %08l
d
)
\n
"
,
hProv
,
dwParam
,
pbData
,
pdwDataLen
,
dwFlags
);
TRACE
(
"(0x%lx, %ld, %p, %p, %08l
x
)
\n
"
,
hProv
,
dwParam
,
pbData
,
pdwDataLen
,
dwFlags
);
if
(
!
prov
||
prov
->
dwMagic
!=
MAGIC_CRYPTPROV
)
CRYPT_ReturnLastError
(
ERROR_INVALID_PARAMETER
);
...
...
@@ -1461,7 +1461,7 @@ BOOL WINAPI CryptHashData (HCRYPTHASH hHash, const BYTE *pbData, DWORD dwDataLen
PCRYPTHASH
hash
=
(
PCRYPTHASH
)
hHash
;
PCRYPTPROV
prov
;
TRACE
(
"(0x%lx, %p, %ld, %08l
d
)
\n
"
,
hHash
,
pbData
,
dwDataLen
,
dwFlags
);
TRACE
(
"(0x%lx, %p, %ld, %08l
x
)
\n
"
,
hHash
,
pbData
,
dwDataLen
,
dwFlags
);
if
(
!
hash
)
CRYPT_ReturnLastError
(
ERROR_INVALID_HANDLE
);
...
...
@@ -1490,7 +1490,7 @@ BOOL WINAPI CryptHashSessionKey (HCRYPTHASH hHash, HCRYPTKEY hKey, DWORD dwFlags
PCRYPTKEY
key
=
(
PCRYPTKEY
)
hKey
;
PCRYPTPROV
prov
;
TRACE
(
"(0x%lx, 0x%lx, %08l
d
)
\n
"
,
hHash
,
hKey
,
dwFlags
);
TRACE
(
"(0x%lx, 0x%lx, %08l
x
)
\n
"
,
hHash
,
hKey
,
dwFlags
);
if
(
!
hash
||
!
key
)
CRYPT_ReturnLastError
(
ERROR_INVALID_HANDLE
);
...
...
@@ -1523,7 +1523,7 @@ BOOL WINAPI CryptImportKey (HCRYPTPROV hProv, BYTE *pbData, DWORD dwDataLen,
PCRYPTPROV
prov
=
(
PCRYPTPROV
)
hProv
;
PCRYPTKEY
pubkey
=
(
PCRYPTKEY
)
hPubKey
,
importkey
;
TRACE
(
"(0x%lx, %p, %ld, 0x%lx, %08l
d
, %p)
\n
"
,
hProv
,
pbData
,
dwDataLen
,
hPubKey
,
dwFlags
,
phKey
);
TRACE
(
"(0x%lx, %p, %ld, 0x%lx, %08l
x
, %p)
\n
"
,
hProv
,
pbData
,
dwDataLen
,
hPubKey
,
dwFlags
,
phKey
);
if
(
!
prov
||
!
pbData
||
!
dwDataLen
||
!
phKey
||
prov
->
dwMagic
!=
MAGIC_CRYPTPROV
)
CRYPT_ReturnLastError
(
ERROR_INVALID_PARAMETER
);
...
...
@@ -1571,7 +1571,7 @@ BOOL WINAPI CryptSignHashW (HCRYPTHASH hHash, DWORD dwKeySpec, LPCWSTR sDescript
PCRYPTHASH
hash
=
(
PCRYPTHASH
)
hHash
;
PCRYPTPROV
prov
;
TRACE
(
"(0x%lx, %ld, %s, %08l
d
, %p, %p)
\n
"
,
TRACE
(
"(0x%lx, %ld, %s, %08l
x
, %p, %p)
\n
"
,
hHash
,
dwKeySpec
,
debugstr_w
(
sDescription
),
dwFlags
,
pbSignature
,
pdwSigLen
);
if
(
!
hash
)
...
...
@@ -1595,7 +1595,7 @@ BOOL WINAPI CryptSignHashA (HCRYPTHASH hHash, DWORD dwKeySpec, LPCSTR sDescripti
LPWSTR
wsDescription
;
BOOL
result
;
TRACE
(
"(0x%lx, %ld, %s, %08l
d
, %p, %p)
\n
"
,
TRACE
(
"(0x%lx, %ld, %s, %08l
x
, %p, %p)
\n
"
,
hHash
,
dwKeySpec
,
debugstr_a
(
sDescription
),
dwFlags
,
pbSignature
,
pdwSigLen
);
CRYPT_ANSIToUnicode
(
sDescription
,
&
wsDescription
,
-
1
);
...
...
@@ -1625,7 +1625,7 @@ BOOL WINAPI CryptSetHashParam (HCRYPTHASH hHash, DWORD dwParam, BYTE *pbData, DW
PCRYPTPROV
prov
;
PCRYPTHASH
hash
=
(
PCRYPTHASH
)
hHash
;
TRACE
(
"(0x%lx, %ld, %p, %08l
d
)
\n
"
,
hHash
,
dwParam
,
pbData
,
dwFlags
);
TRACE
(
"(0x%lx, %ld, %p, %08l
x
)
\n
"
,
hHash
,
dwParam
,
pbData
,
dwFlags
);
if
(
!
hash
||
!
pbData
||
!
hash
->
pProvider
||
hash
->
pProvider
->
dwMagic
!=
MAGIC_CRYPTPROV
)
CRYPT_ReturnLastError
(
ERROR_INVALID_PARAMETER
);
...
...
@@ -1655,7 +1655,7 @@ BOOL WINAPI CryptSetKeyParam (HCRYPTKEY hKey, DWORD dwParam, BYTE *pbData, DWORD
PCRYPTPROV
prov
;
PCRYPTKEY
key
=
(
PCRYPTKEY
)
hKey
;
TRACE
(
"(0x%lx, %ld, %p, %08l
d
)
\n
"
,
hKey
,
dwParam
,
pbData
,
dwFlags
);
TRACE
(
"(0x%lx, %ld, %p, %08l
x
)
\n
"
,
hKey
,
dwParam
,
pbData
,
dwFlags
);
if
(
!
key
||
!
pbData
||
!
key
->
pProvider
||
key
->
pProvider
->
dwMagic
!=
MAGIC_CRYPTPROV
)
CRYPT_ReturnLastError
(
ERROR_INVALID_PARAMETER
);
...
...
@@ -1715,7 +1715,7 @@ BOOL WINAPI CryptSetProviderExA (LPCSTR pszProvName, DWORD dwProvType, DWORD *pd
HKEY
hProvKey
,
hTypeKey
;
PSTR
keyname
;
TRACE
(
"(%s, %ld, %p, %08l
d
)
\n
"
,
pszProvName
,
dwProvType
,
pdwReserved
,
dwFlags
);
TRACE
(
"(%s, %ld, %p, %08l
x
)
\n
"
,
pszProvName
,
dwProvType
,
pdwReserved
,
dwFlags
);
if
(
!
pszProvName
||
pdwReserved
)
CRYPT_ReturnLastError
(
ERROR_INVALID_PARAMETER
);
...
...
@@ -1779,7 +1779,7 @@ BOOL WINAPI CryptSetProviderExW (LPCWSTR pszProvName, DWORD dwProvType, DWORD *p
BOOL
ret
=
FALSE
;
PSTR
str
=
NULL
;
TRACE
(
"(%s, %ld, %p, %08l
d
)
\n
"
,
debugstr_w
(
pszProvName
),
dwProvType
,
pdwReserved
,
dwFlags
);
TRACE
(
"(%s, %ld, %p, %08l
x
)
\n
"
,
debugstr_w
(
pszProvName
),
dwProvType
,
pdwReserved
,
dwFlags
);
if
(
CRYPT_UnicodeToANSI
(
pszProvName
,
&
str
,
-
1
))
{
...
...
@@ -1808,7 +1808,7 @@ BOOL WINAPI CryptSetProvParam (HCRYPTPROV hProv, DWORD dwParam, BYTE *pbData, DW
{
PCRYPTPROV
prov
=
(
PCRYPTPROV
)
hProv
;
TRACE
(
"(0x%lx, %ld, %p, %08l
d
)
\n
"
,
hProv
,
dwParam
,
pbData
,
dwFlags
);
TRACE
(
"(0x%lx, %ld, %p, %08l
x
)
\n
"
,
hProv
,
dwParam
,
pbData
,
dwFlags
);
if
(
!
prov
)
CRYPT_ReturnLastError
(
ERROR_INVALID_HANDLE
);
...
...
@@ -1864,7 +1864,7 @@ BOOL WINAPI CryptVerifySignatureW (HCRYPTHASH hHash, BYTE *pbSignature, DWORD dw
PCRYPTKEY
key
=
(
PCRYPTKEY
)
hPubKey
;
PCRYPTPROV
prov
;
TRACE
(
"(0x%lx, %p, %ld, 0x%lx, %s, %08l
d
)
\n
"
,
hHash
,
pbSignature
,
TRACE
(
"(0x%lx, %p, %ld, 0x%lx, %s, %08l
x
)
\n
"
,
hHash
,
pbSignature
,
dwSigLen
,
hPubKey
,
debugstr_w
(
sDescription
),
dwFlags
);
if
(
!
hash
||
!
key
)
...
...
@@ -1892,7 +1892,7 @@ BOOL WINAPI CryptVerifySignatureA (HCRYPTHASH hHash, BYTE *pbSignature, DWORD dw
LPWSTR
wsDescription
;
BOOL
result
;
TRACE
(
"(0x%lx, %p, %ld, 0x%lx, %s, %08l
d
)
\n
"
,
hHash
,
pbSignature
,
TRACE
(
"(0x%lx, %p, %ld, 0x%lx, %s, %08l
x
)
\n
"
,
hHash
,
pbSignature
,
dwSigLen
,
hPubKey
,
debugstr_a
(
sDescription
),
dwFlags
);
CRYPT_ANSIToUnicode
(
sDescription
,
&
wsDescription
,
-
1
);
...
...
dlls/tapi32/phone.c
View file @
e9cac261
...
...
@@ -59,7 +59,7 @@ DWORD WINAPI phoneConfigDialogA(DWORD dwDeviceID, HWND hwndOwner, LPCSTR lpszDev
*/
DWORD
WINAPI
phoneDevSpecific
(
HPHONE
hPhone
,
LPVOID
lpParams
,
DWORD
dwSize
)
{
FIXME
(
"(%p, %p, %
08
ld): stub.
\n
"
,
hPhone
,
lpParams
,
dwSize
);
FIXME
(
"(%p, %p, %ld): stub.
\n
"
,
hPhone
,
lpParams
,
dwSize
);
return
1
;
}
...
...
@@ -78,7 +78,7 @@ DWORD WINAPI phoneGetButtonInfoA(HPHONE hPhone, DWORD dwButtonLampID,
*/
DWORD
WINAPI
phoneGetData
(
HPHONE
hPhone
,
DWORD
dwDataID
,
LPVOID
lpData
,
DWORD
dwSize
)
{
FIXME
(
"(%p, %08l
d, %p, %08
ld): stub.
\n
"
,
hPhone
,
dwDataID
,
lpData
,
dwSize
);
FIXME
(
"(%p, %08l
x, %p, %
ld): stub.
\n
"
,
hPhone
,
dwDataID
,
lpData
,
dwSize
);
return
0
;
}
...
...
@@ -88,7 +88,7 @@ DWORD WINAPI phoneGetData(HPHONE hPhone, DWORD dwDataID, LPVOID lpData, DWORD dw
DWORD
WINAPI
phoneGetDevCapsA
(
HPHONEAPP
hPhoneApp
,
DWORD
dwDeviceID
,
DWORD
dwAPIVersion
,
DWORD
dwExtVersion
,
LPPHONECAPS
lpPhoneCaps
)
{
FIXME
(
"(%p, %08l
d
, %08lx, %08lx, %p): stub.
\n
"
,
hPhoneApp
,
dwDeviceID
,
dwAPIVersion
,
dwExtVersion
,
lpPhoneCaps
);
FIXME
(
"(%p, %08l
x
, %08lx, %08lx, %p): stub.
\n
"
,
hPhoneApp
,
dwDeviceID
,
dwAPIVersion
,
dwExtVersion
,
lpPhoneCaps
);
/* call TSPI function here ! */
return
0
;
}
...
...
dlls/user/dde_client.c
View file @
e9cac261
...
...
@@ -1230,7 +1230,7 @@ BOOL WINAPI DdeAbandonTransaction(DWORD idInst, HCONV hConv, DWORD idTransaction
WDML_CONV
*
pConv
;
WDML_XACT
*
pXAct
;
TRACE
(
"(%08lx,%p,%08l
d
);
\n
"
,
idInst
,
hConv
,
idTransaction
);
TRACE
(
"(%08lx,%p,%08l
x
);
\n
"
,
idInst
,
hConv
,
idTransaction
);
EnterCriticalSection
(
&
WDML_CritSect
);
if
((
pInstance
=
WDML_GetInstance
(
idInst
)))
...
...
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