WTHelperProvDataFromStateData function
[The WTHelperProvDataFromStateData function is available for use in the operating systems specified in the Requirements section. It may be altered or unavailable in subsequent versions. For certificate verification, use the CertGetCertificateChain and CertVerifyCertificateChainPolicy functions. For Microsoft Authenticode technology signature verification, use the .NET Framework.]
Applies to: desktop apps only
The WTHelperProvDataFromStateData function retrieves trust provider information from a specified handle. This function has no associated import library. You must use the LoadLibrary and GetProcAddress functions to dynamically link to Wintrust.dll.
Syntax
CRYPT_PROVIDER_DATA* WINAPI WTHelperProvDataFromStateData( __in HANDLE hStateData );
Parameters
- hStateData [in]
-
A handle previously set by the WinVerifyTrustEx function as the hWVTStateData member of the WINTRUST_DATA structure.
Return value
If the function succeeds, the function returns a pointer to a CRYPT_PROVIDER_DATA structure. The returned pointer can be used by the WTHelperGetProvSignerFromChain function.
If the function fails, it returns NULL.
Requirements
|
Minimum supported client | Windows 2000 Professional |
|---|---|
|
Minimum supported server | Windows 2000 Server |
|
Header |
|
|
Library |
|
|
DLL |
|
See also
Send comments about this topic to Microsoft
Build date: 3/6/2012