GetCurrentImageAndFileName

GetCurrentImageAndFileName 1:

Get the current image by detaching its internal reference.

Syntax

Definition:

METHOD GetCurrentImageAndFileName : HRESULT
VAR_INPUT
    pipImage  : Pointer To ITcVnImage;
    sFileName : STRING;
    nMaxLen   : UINT;
END_VAR

GetCurrentImageAndFileName 2: Inputs

Name

Type

Description

pipImage

Pointer To ITcVnImage

pointer to the interface pointer to be returned, might be 0 if the image acquisition failed

sFileName

STRING

returns the filename as a string

nMaxLen

UINT

maximum string length allowed to be written in sFileName

GetCurrentImageAndFileName 3: Return value

HRESULT