Beispiel #1
0
 public extern static IntPtr SetupDiOpenDevRegKey(
     [In] IntPtr DeviceInfo,
     [In] SP_DEVINFO_DATA DeviceInfoData,
     [In] SetupDiOpenDevRegKeyScopeFlags Scope,
     [In] UInt32 HwProfile,
     [In] SetupDiOpenDevRegKeyKeyTypeFlags KeyType,
     [In] REGSAM samDesired);
Beispiel #2
0
 internal static extern int RegOpenKeyEx(
     HKEY hKey,
     [MarshalAs(UnmanagedType.LPTStr)] LPCTSTR lpSubKey,
     DWORD ulOptions,
     REGSAM samDesired,
     out PHKEY phkResult);