TBApiGetDefaultSZ API Call

 

Description

Get the default value of a specified setting for a given device.

Parameters

Device handle, setting name, buffer for storing value and size.

Returns

0 = fail, 1 = OK.

Notes

None.

See also

TBApiGetDefaultDWORD

 

Visual C++ Declaration/example

 

BOOL TBAPI TBApiGetDefaultSZ(HTBDEVICE aDeviceHandle,const TCHAR* aName, TCHAR* aSZ, int lBuff);

 

Visual Basic Declaration/example

 

Public Declare Function TBApiGetDefaultSZ Lib "TBapi" Alias "_DLL_TBApiGetDefaultSZ@16" (ByVal aDeviceHandle As Byte, ByVal aName As String, ByVal aSZ As Long, ByVal lBuff As Long) As Long