DTWAIN_GetTwainAppID

Top  Previous  Next

The DTWAIN_GetTwainAppID returns the DTWAIN_IDENTITY of the Twain Application Session.

 

DTWAIN_IDENTITY DTWAIN_GetTwainAppID( );

 

Parameters

None.

 

Return Values

If the function succeeds, a DTWAIN_IDENTITY of the Twain Application Session is returned.  If the function fails, NULL is returned.

 

Comments

The DTWAIN_GetTwainAppID returns the DTWAIN_IDENTITY of the Twain Application Session.  This session is started whenever . is called either implicitly by DTWAIN, or explicitly by the user application.  The DTWAIN_IDENTITY is a pointer to a TW_IDENTITY structure that is defined by the TWAIN Specification.

 

This function is meant to be used by the DTWAIN_CallDSMProc function and is designed for advanced TWAIN programmers who want to control the TWAIN session by making direct calls to the TWAIN Data Source Manager (DSM).

 

TWAIN State Transitions

None

 

Prerequisite Function Call(s)

DTWAIN_SysInitialize

 

See Also

Low-Level DTWAIN functions