GetCapabilityEnum  Method

Description         This method retrives the value of the capability. You should use this method if the capability type is TWON_ENUMERATION.

Usage                  ret = [form.]TWAIN. GetCapabilityEnum lCap lMsg

Returns               ret                           LONGLONG Handle to the enumeration.

Remarks             lCap                      Long                 Capability ID. For example ICAP_XRESOLUTION.

                            lMsg                      Long                 MSG_GET, MSG_GETCURRENT or MSG_GETDEFAULT

Programing Notes     See ErrorCode property for error. If operation succeded the error code will be TW_OK.

 

See Also          SetCapabilityNumEnum Method, ReleaseData Method