advapi32: Fix printing NULL strings.
This commit is contained in:
parent
6efd90510b
commit
ada3d57e83
|
@ -545,8 +545,8 @@ BOOL WINAPI CryptAcquireContextA (HCRYPTPROV *phProv, LPCSTR pszContainer,
|
|||
PWSTR pProvider = NULL, pContainer = NULL;
|
||||
BOOL ret = FALSE;
|
||||
|
||||
TRACE("(%p, %s, %s, %d, %08x)\n", phProv, pszContainer,
|
||||
pszProvider, dwProvType, dwFlags);
|
||||
TRACE("(%p, %s, %s, %d, %08x)\n", phProv, debugstr_a(pszContainer),
|
||||
debugstr_a(pszProvider), dwProvType, dwFlags);
|
||||
|
||||
if ( !CRYPT_ANSIToUnicode(pszContainer, &pContainer, -1) )
|
||||
{
|
||||
|
|
|
@ -1739,8 +1739,8 @@ LSTATUS WINAPI RegGetValueA( HKEY hKey, LPCSTR pszSubKey, LPCSTR pszValue,
|
|||
LONG ret;
|
||||
|
||||
TRACE("(%p,%s,%s,%d,%p,%p,%p=%d)\n",
|
||||
hKey, pszSubKey, pszValue, dwFlags, pdwType, pvData, pcbData,
|
||||
cbData);
|
||||
hKey, debugstr_a(pszSubKey), debugstr_a(pszValue), dwFlags,
|
||||
pdwType, pvData, pcbData, cbData);
|
||||
|
||||
if (pvData && !pcbData)
|
||||
return ERROR_INVALID_PARAMETER;
|
||||
|
|
Loading…
Reference in New Issue