Skip to content

Commit 223b6d7

Browse files
Merge pull request #1496 from Lipovlan/patch-2
Change parameter value to avoid data type warning
2 parents 3a1ed36 + 646683d commit 223b6d7

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

sdk-api-src/content/wincrypt/nf-wincrypt-certopensystemstorea.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,9 +58,9 @@ The <b>CertOpenSystemStore</b> function is a simplified function that opens the
5858

5959
### -param hProv [in]
6060

61-
This parameter is not used and should be set to <b>NULL</b>.
61+
This parameter is not used and should be set to <b>0</b>.
6262

63-
<b>Windows Server 2003 and Windows XP:  </b>A handle of a <a href="/windows/desktop/SecGloss/c-gly">cryptographic service provider</a> (CSP). Set <i>hProv</i> to <b>NULL</b> to use the default CSP. If <i>hProv</i> is not <b>NULL</b>, it must be a CSP handle created by using the <a href="/windows/desktop/api/wincrypt/nf-wincrypt-cryptacquirecontexta">CryptAcquireContext</a> function.This parameter's data type is <b>HCRYPTPROV</b>.
63+
<b>Windows Server 2003 and Windows XP:  </b>A handle of a <a href="/windows/desktop/SecGloss/c-gly">cryptographic service provider</a> (CSP). Set <i>hProv</i> to <b>0</b> to use the default CSP. If <i>hProv</i> is not <b>0</b>, it must be a CSP handle created by using the <a href="/windows/desktop/api/wincrypt/nf-wincrypt-cryptacquirecontexta">CryptAcquireContext</a> function.This parameter's data type is <b>HCRYPTPROV</b>.
6464

6565
### -param szSubsystemProtocol [in]
6666

sdk-api-src/content/wincrypt/nf-wincrypt-certopensystemstorew.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,9 +58,9 @@ The <b>CertOpenSystemStore</b> function is a simplified function that opens the
5858

5959
### -param hProv [in]
6060

61-
This parameter is not used and should be set to <b>NULL</b>.
61+
This parameter is not used and should be set to <b>0</b>.
6262

63-
<b>Windows Server 2003 and Windows XP:  </b>A handle of a <a href="/windows/desktop/SecGloss/c-gly">cryptographic service provider</a> (CSP). Set <i>hProv</i> to <b>NULL</b> to use the default CSP. If <i>hProv</i> is not <b>NULL</b>, it must be a CSP handle created by using the <a href="/windows/desktop/api/wincrypt/nf-wincrypt-cryptacquirecontexta">CryptAcquireContext</a> function.This parameter's data type is <b>HCRYPTPROV</b>.
63+
<b>Windows Server 2003 and Windows XP:  </b>A handle of a <a href="/windows/desktop/SecGloss/c-gly">cryptographic service provider</a> (CSP). Set <i>hProv</i> to <b>0</b> to use the default CSP. If <i>hProv</i> is not <b>0</b>, it must be a CSP handle created by using the <a href="/windows/desktop/api/wincrypt/nf-wincrypt-cryptacquirecontexta">CryptAcquireContext</a> function.This parameter's data type is <b>HCRYPTPROV</b>.
6464

6565
### -param szSubsystemProtocol [in]
6666

0 commit comments

Comments
 (0)