CreateFileTransactedW method

Pointer<Void> CreateFileTransactedW(
  1. Pointer<Uint16> lpFileName,
  2. int dwDesiredAccess,
  3. int dwShareMode,
  4. Pointer<LPSECURITY_ATTRIBUTES> lpSecurityAttributes,
  5. int dwCreationDisposition,
  6. int dwFlagsAndAttributes,
  7. Pointer<Void> hTemplateFile,
  8. Pointer<Void> hTransaction,
  9. Pointer<Uint16> pusMiniVersion,
  10. Pointer<Void> lpExtendedParameter,
)

Implementation

ffi.Pointer<ffi.Void> CreateFileTransactedW(
  ffi.Pointer<ffi.Uint16> lpFileName,
  int dwDesiredAccess,
  int dwShareMode,
  ffi.Pointer<LPSECURITY_ATTRIBUTES> lpSecurityAttributes,
  int dwCreationDisposition,
  int dwFlagsAndAttributes,
  ffi.Pointer<ffi.Void> hTemplateFile,
  ffi.Pointer<ffi.Void> hTransaction,
  ffi.Pointer<ffi.Uint16> pusMiniVersion,
  ffi.Pointer<ffi.Void> lpExtendedParameter,
) {
  return (_CreateFileTransactedW ??= _dylib.lookupFunction<
      _c_CreateFileTransactedW,
      _dart_CreateFileTransactedW>('CreateFileTransactedW'))(
    lpFileName,
    dwDesiredAccess,
    dwShareMode,
    lpSecurityAttributes,
    dwCreationDisposition,
    dwFlagsAndAttributes,
    hTemplateFile,
    hTransaction,
    pusMiniVersion,
    lpExtendedParameter,
  );
}