Index   Commented   Search   About

Quick Info

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

WinSubmitCertificate

[New - Windows NT]

The WinSubmitCertificate function passes a WIN_CERTIFICATE structure to all trust providers registered with the WinTrust service.

BOOL WinSubmitCertificate(

LPWIN_CERTIFICATE lpCertificate
// pointer to a WIN_CERTIFICATE structure
);

Parameters

lpCertificate

Pointer to a WIN_CERTIFICATE structure.

Return Values

If the function succeeds, the return value is a nonzero value.

If the lpCertificate parameter is invalid, the return value is zero. To get extended error information, call GetLastError.

Remarks

A call to WinSubmitCertificate causes WinTrust to load all registered trust providers and submit the certificate to them. Each trust provider can save a copy of the certificate for future use, or discard it. For example, Microsoft's Software Publisher Trust Provider might save certificates related to software publishing, but discard other certificates. WinSubmitCertificate does not return any indication of whether any trust provider saved the certificate.

See Also

WIN_CERTIFICATE

Related Links

Software for Delphi and C++ Builder developers
Software for Visual Studio .NET developers
Software for Visual Basic 6 developers
Delphi Tips&Tricks
MegaDetailed.NET
TMS Scripter Studio Pro components for Delphi/C++Builder

More Online Helps

Win32 Multimedia Programmer's Reference (mmedia.hlp)
OLE Programmer's Reference (ole.hlp)
Microsoft Windows Pen API Programmer's Reference (penapi.hlp)
Microsoft Windows Sockets 2 Reference (sock2.hlp)
Microsoft Windows Telephony API (TAPI) Programmer's Reference (tapi.hlp)
Unix Manual Pages

Free Tech Secrets ;) Copyright © 2008 Free Tect Secrets ;) greatis just4fun network just4fun