Prev Next

WinTrustProviderPing info

The WinTrustProviderPing function enables the client component of a trust provider to contact its server counterpart.

The current release of WinTrust does not include the WinTrust server component. Consequently, WinTrust does not implement this function and trust provider DLLs do not need to implement it.

DWORD WinTrustProviderPing(

    LPWSTR  lpProviderName,

// administrator-assigned name of the trust provider

    DWORD dwClientParameter,

// parameter passed by client to server

    LPDWORD lpdwServerReturnValue

// receives value returned by server

   );

Parameters

lpProviderName
Pointer to a null-terminated Unicode string that contains the name of the trust provider. The system administrator assigned this name to the registry key that stores configuration information for the trust provider. WinTrust passes this name to the client component of the trust provider in the WinTrustProviderClientInitialize call.
dwClientParameter
A value specified by the client component of the trust provider. WinTrust passes this value to the server component of the trust provider.
lpdwServerReturnValue
Pointer to a DWORD that receives the value returned by the server component of the trust provider.

Remarks

The LPWINTRUST_PROVIDER_PING type is a pointer to a WinTrustProviderPing function.

See Also

WinTrustProviderClientInitialize, WinTrustProviderServerInitialize