Hinweis
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, sich anzumelden oder das Verzeichnis zu wechseln.
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, das Verzeichnis zu wechseln.
Provides methods for validating portable executable (PE) images and reporting validation errors.
interface IValidator : IUnknown {
HRESULT Validate(
[in] IVEHandler *veh,
[in] IUnknown *pAppDomain,
[in] unsigned long ulFlags,
[in] unsigned long ulMaxError,
[in] unsigned long token,
[in] LPWSTR fileName,
[in, size_is(ulSize)] BYTE *pe,
[in] unsigned long ulSize
);
HRESULT FormatEventInfo(
[in] HRESULT hVECode,
[in] VEContext Context,
[in, out] LPWSTR msg,
[in] unsigned long ulMaxLength,
[in] SAFEARRAY(VARIANT) psa
);
};
Methods
Method |
Description |
|---|---|
Validate |
Validates the specified PE or Microsoft intermediate language (MSIL) file. |
FormatEventInfo |
Gets the error message corresponding to the specified validation error. |
Requirements
Platforms: Windows 2000, Windows XP, Windows Server 2003 family
Header: Ivalidator.idl
Library: Included as a resource in MSCorEE.dll
.NET Framework Version: 2.0