GetCurrentImageAndFileName

Get the current image by detaching its internal reference.

Syntax

Definition:

HRESULT GetCurrentImageAndFileName(
    ITcVnImage** pipImage,
    PCHAR        sFileName,
    USHORT       nMaxLen
)

Parameters

Name

Type

Description

pipImage

ITcVnImage**

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

sFileName

PCHAR

returns the filename as a string

nMaxLen

USHORT

maximum string length allowed to be written in sFileName

GetCurrentImageAndFileName 1: Return value

HRESULT