RegCreateKeyTransactedA method

int RegCreateKeyTransactedA(
  1. Pointer<HKEY__> hKey,
  2. Pointer<Int8> lpSubKey,
  3. int Reserved,
  4. Pointer<Int8> 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 RegCreateKeyTransactedA(
  ffi.Pointer<HKEY__> hKey,
  ffi.Pointer<ffi.Int8> lpSubKey,
  int Reserved,
  ffi.Pointer<ffi.Int8> 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 (_RegCreateKeyTransactedA ??= _dylib.lookupFunction<
      _c_RegCreateKeyTransactedA,
      _dart_RegCreateKeyTransactedA>('RegCreateKeyTransactedA'))(
    hKey,
    lpSubKey,
    Reserved,
    lpClass,
    dwOptions,
    samDesired,
    lpSecurityAttributes,
    phkResult,
    lpdwDisposition,
    hTransaction,
    pExtendedParemeter,
  );
}