RegCreateKeyTransactedW method

int RegCreateKeyTransactedW(
  1. Pointer<HKEY__> hKey,
  2. Pointer<Uint16> lpSubKey,
  3. int Reserved,
  4. Pointer<Uint16> lpClass,
  5. int dwOptions,
  6. int samDesired,
  7. Pointer<LPSECURITY_ATTRIBUTES> lpSecurityAttributes,
  8. Pointer<Pointer<HKEY__>> phkResult,
  9. Pointer<Uint64> lpdwDisposition,
  10. Pointer<Void> hTransaction,
  11. Pointer<Void> pExtendedParemeter,
)

Implementation

int RegCreateKeyTransactedW(
  ffi.Pointer<HKEY__> hKey,
  ffi.Pointer<ffi.Uint16> lpSubKey,
  int Reserved,
  ffi.Pointer<ffi.Uint16> lpClass,
  int dwOptions,
  int samDesired,
  ffi.Pointer<LPSECURITY_ATTRIBUTES> lpSecurityAttributes,
  ffi.Pointer<ffi.Pointer<HKEY__>> phkResult,
  ffi.Pointer<ffi.Uint64> lpdwDisposition,
  ffi.Pointer<ffi.Void> hTransaction,
  ffi.Pointer<ffi.Void> pExtendedParemeter,
) {
  return (_RegCreateKeyTransactedW ??= _dylib.lookupFunction<
      _c_RegCreateKeyTransactedW,
      _dart_RegCreateKeyTransactedW>('RegCreateKeyTransactedW'))(
    hKey,
    lpSubKey,
    Reserved,
    lpClass,
    dwOptions,
    samDesired,
    lpSecurityAttributes,
    phkResult,
    lpdwDisposition,
    hTransaction,
    pExtendedParemeter,
  );
}