RegCreateKeyExW method

int RegCreateKeyExW(
  1. Pointer<HKEY__> hKey,
  2. Pointer<Uint16> lpSubKey,
  3. int Reserved,
  4. Pointer<Uint16> lpClass,
  5. int dwOptions,
  6. int samDesired,
  7. Pointer<SECURITY_ATTRIBUTES> lpSecurityAttributes,
  8. Pointer<Pointer<HKEY__>> phkResult,
  9. Pointer<Uint64> lpdwDisposition,
)

Implementation

int RegCreateKeyExW(
  ffi.Pointer<HKEY__> hKey,
  ffi.Pointer<ffi.Uint16> lpSubKey,
  int Reserved,
  ffi.Pointer<ffi.Uint16> lpClass,
  int dwOptions,
  int samDesired,
  ffi.Pointer<SECURITY_ATTRIBUTES> lpSecurityAttributes,
  ffi.Pointer<ffi.Pointer<HKEY__>> phkResult,
  ffi.Pointer<ffi.Uint64> lpdwDisposition,
) {
  return _RegCreateKeyExW(
    hKey,
    lpSubKey,
    Reserved,
    lpClass,
    dwOptions,
    samDesired,
    lpSecurityAttributes,
    phkResult,
    lpdwDisposition,
  );
}