TBApiDeleteRegistryValueCached API Call

 

Description

Request a deletion of a registry value to be executed during the next call to TBApiApply.

Parameters

Registry key handle, path and value.

Returns

None.

Notes

None.

 

Visual C++ Declaration/example

 

void TBAPI TBApiDeleteRegistryValueCached (HANDLE aKey, LPCTSTR aPath,LPCTSTR aValueName);

 

TBApiDeleteRegistryValueCached(HKEY_LOCAL_MACHINE,_T("SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Run"),_T("RunMe"));

TBApiApply();

 

Visual Basic Declaration/example

 

Public Const HKEY_LOCAL_MACHINE = &H80000002

 

Public Declare Sub TBApiDeleteRegistryValueCached Lib "TBapi" Alias _DLL_TBApiDeleteRegistryValueCached@12" _

(ByVal aKey As Byte, ByVal aPath As String, ByVal aValueName As String)

 

TBApiDeleteRegistryValueCached HKEY_LOCAL_MACHINE, "SOFTWARE\Microsoft\Windows\CurrentVersion\Run", "RunMe"

TBApiApply