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: See .NET Framework System Requirements.
Header: IValidator.idl
Library: Included as a resource in MSCorEE.dll
.NET Framework Versions: 3.5 SP1, 3.5, 3.0 SP1, 3.0, 2.0 SP1, 2.0
See Also
Reference
ICLRErrorReportingManager Interface