IMVImageInfo
The IMVImageInfo interface is used to retrieve information about the current bitmap used by the MV Image Grabber, MV Image Renderer and MV Batch Image File Source filters.
| GetCurrentBitmap | Returns the currentl bitmap as MV_BITMAP. |
| GetCurrentFileName | Returns the path to the current bitmap as string. |
Header file: iMVImageInfo.h
Interface definition language file: iMVImageInfo.idl
Interface ID: IID_IMVImageInfo
HRESULT GetCurrentBitmap( [in ] int cMax, [out, size_is(cMax)] byte *pbyBitmap );
Returns the current used bitmap as MV_BITMAP.
Parameter:
| cMax | The size of the MV_BITMAP structure. | |
| pbyBitmap | A pointer to the bitmap structure as MV_BITMAP *. |
HRESULT GetCurrentFileName( [out, retval] BSTR *pbstrFileName );
Returns the path to the current image as COM string.
Parameter:
| pbstrFileName | A pointer to a COM string that receives the path to the image file. |