TBApiSetSettingDWORDEx API Call

 

Description

Sets a DWORD value in a named sub-tree and node in the UPDD registry branch.

Parameters

Device handle (see notes), sub-tree branch name, node name and new setting.

Returns

0 = fail, 1 = OK.

Notes

This will set a DWORD value in the named sub-tree and node in the UPDD branch of the registry. Supply a valid Device handle to set items for a specific device or pass zero to set values in the bundle branch. It is important to call TBApiApply() to commit the changes.

See also

Other registry related API calls to set and retrieve registry entries.

 

Visual C++ Declaration/example

 

BOOL TBAPI TBApiSetSettingDWORDEx(HTBDEVICE aHandle,const TCHAR* aSubtree,const TCHAR* aName, unsigned long val);

 

Visual Basic Declaration/example

 

Public Declare Function TBApiSetSettingDWORDEx Lib "TBapi" Alias "_DLL_TBApiSetSettingDWORDEx@16" (ByVal aDevice As Byte, ByVal aSubtree As String, ByVal aName As String, ByVal val As Long) As Long