Gets the number of stored capabilities from the specified file.
L_LTTWN_API L_INT L_TwainGetNumOfCapsInFile (hSession, hFile, puCapCount)
Handle to an existing template file.
Pointer to a variable to be updated with the number of capabilities in the specified file.
|SUCCESS||The function was successful.|
|! = SUCCESS||An error occurred. Refer to Return Codes.|
The template file must be opened for reading by calling L_TwainOpenTemplateFile function.
For an example, refer to L_TwainGetCapabilityFromFile.