Quick Info

Windows NT
Yes
Win95
No
Win32s
No
Import Library
advapi32.lib
Header File
winbase.h
Unicode
No
Platform Notes
None

WinLoadTrustProvider

[New - Windows NT]

The WinLoadTrustProvider function loads a trust provider DLL into the address space of the calling process. The function loads the trust provider that has registered itself as being able to process the specified action identifier. You can use WinLoadTrustProvider to determine whether the local computer has a trust provider that supports the specified action identifier. WinLoadTrustProvider does not perform the action.

BOOL WinLoadTrustProvider(

GUID * ActionID
// pointer to a trust provider action identifier
);

Parameters

ActionID

Pointer to a GUID structure that identifies a trust provider action.

The WinTrust service is designed to work with trust providers implemented by third parties. Each trust provider provides its own unique set of action identifiers. For information about the action identifiers supported by a trust provider, see the documentation for that trust provider.

Return Values

If the function locates and loads a trust provider that supports the specified action identifier, the return value is a nonzero value.

If the function fails to locate or load the trust provider, the return value is zero. To get extended error information, call GetLastError.

Remarks

You do not need to call the WinLoadTrustProvider function before calling the WinVerifyTrust function to perform the specified action. WinVerifyTrust automatically loads the trust provider if it has not already been loaded. Preloading is recommended, however, because it reduces the time required for the first call to WinVerifyTrust.

See Also

GUID
, WinVerifyTrust

Software for developers
Delphi Components
.Net Components
Software for Android Developers
More information resources
MegaDetailed.Net
Unix Manual Pages
Delphi Examples
Databases for Amazon shops developers
Amazon Categories Database
Browse Nodes Database