5/13/2011

This method validates an image string identifier.

Syntax

HRESULT ValidateImage(
  const BSTR ImageString, 
  BOOL* ValidImage, 
  BSTR* OptionalMessageString
);

Parameters

ImageString

[in] Path of the image file.

ValidImage

[out] Boolean value that is Trueif the image is valid; otherwise, this value is False.

OptionalMessageString

[out] Message text if there is a problem with the image file.

Return Value

Returns a VOID HRESULT value.

Remarks

None

See Also