문제

I am lookibg for the DLLImport API signature for deleting a registry value.

PInvoke only has the definition for mobile devices.

I am looking for the normal Definition for windows in VB.Net.

I know I can also delete a registry value by using System.Win32.Registry but nevertheless I am looking for the API signature.

Can someone help me out?;)^

Nevermind got it:

enter image description here

도움이 되었습니까?

해결책

Sounds like you are looking for the DllImport signature of RegDeleteKeyValue function. If so this is it

<DllImport("advapi32.dll")> _
Private Shared Function RegDeleteKeyValue( _
  ByVal handle As IntPtr, _
  ByVal keyName As String, _ 
  ByVal valueName As String) 

End Function
라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top