|
|
|
|
|
|
|
|
|
Quick Info
Windows NT
| Yes
| Win95
| Yes
| Win32s
| No
| Import Library
| imagehlp.lib
| Header File
| imagehlp.h
| Unicode
| No
| Platform Notes
| Windows 95: IMAGEHLP is available as a redistributable.
|
|
|
ImageAddCertificate
[Now Supported on Windows NT]
The ImageAddCertificate function is used to add a DICE_CERTIFICATE to the specified file.
BOOL ImageAddCertificate(
IN HANDLE FileHandle,
|
| IN PDICE_CERTIFICATE Certificate,
|
| OUT PDWORD Index
|
| );
|
|
Parameters
FileHandle
This supplies a handle to the image file to be modified. This handle must be
opened for FILE_READ_DATA and FILE_WRITE_DATA access.
Certificate
This supplies a buffer containing a DICE_CERTIFICATE header and all associated
sections. The Length field in the certificate header will be used to determine the length of this
buffer.
Index
This returns the index of the newly added certificate.
Return Values
If the function succeeds, the return value is TRUE.
If the function fails, then the return value is FALSE. To retrieve extended
error information, call GetLastError.
Remarks
The ImageAddCertificate function adds a DICE_CERTIFICATE to the specified file. The certificate is
added at the end of the existing list of certificates and is assigned an index.
Windows NT: This function is not available under Windows NT 3.51; it was introduced in
Windows NT 4.0.
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
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
|