RegDeleteKey |
VB聲明 |
|
Declare Function RegDeleteKey Lib "advapi32.dll" Alias "RegDeleteKeyA" (ByVal hKey As Long, ByVal lpSubKey As String) As Long |
|
說(shuō)明 |
|
刪除現(xiàn)有項(xiàng)下方一個(gè)指定的子項(xiàng) |
|
返回值 |
|
Long,零(ERROR_SUCCESS)表示成功。其他任何值都代表一個(gè)錯(cuò)誤代碼 |
|
參數(shù)表 |
|
參數(shù) |
類(lèi)型及說(shuō)明 |
hKey |
Long,一個(gè)已打開(kāi)項(xiàng)的句柄,或者標(biāo)準(zhǔn)項(xiàng)名之一 |
lpSubKey |
String,要?jiǎng)h除項(xiàng)的名字。這個(gè)項(xiàng)的所有子項(xiàng)也會(huì)刪除 |
Top |