ICLRValidator Interface
Provides methods for validating portable executable (PE) images and reporting validation errors.
interface ICLRValidator : IUnknown {
HRESULT FormatEventInfo (
[in] HRESULT hVECode,
[in] VEContext Context,
[in, out] LPWSTR msg,
[in] unsigned long ulMaxLength,
[in] SAFEARRAY(VARIANT) psa
);
HRESULT Validate (
[in] IVEHandler *veh,
[in] unsigned long ulAppDomainId,
[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
);
};
Methods
Method | Description |
---|---|
Gets a detailed message about the specified validation error. |
|
Validates the portable executable or Microsoft intermediate language (MSIL) in the specified file. |
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
See Also
Reference
ICLRErrorReportingManager Interface