Contents Menu Expand Light mode Dark mode Auto light/dark, in light mode Auto light/dark, in dark mode Skip to content
Gonto documentation
Logo
Gonto documentation

Contents:

  • Command Line
  • Gonto Configuration
  • Gonto Repository
  • Environment Variables
  • Frequently Asked Questions
  • Python API
    • config
    • download
    • target
    • diskimage
    • log
    • helpers
    • clihelpers
    • reghelpers
    • win32
      • const
      • fileapi
      • fmifs
      • handleapi
      • ioapiset
      • virtdisk
      • winbase
      • winioctl
  • Build Gonto for Windows
Back to top
View this page

fileapi¶

Bindings for the Win32 File API.

class gonto.win32.fileapi.CREATION_DISPOSITION(*values)¶

An action to take on a file or device that exists or does not exist.

See: https://learn.microsoft.com/en-us/windows/win32/api/fileapi/nf-fileapi-createfilew

CREATE_ALWAYS = 2¶
CREATE_NEW = 1¶
OPEN_ALWAYS = 4¶
OPEN_EXISTING = 3¶
TRUNCATE_EXISTING = 5¶
gonto.win32.fileapi.lib = None¶

Binding of fileapi functions of kernel32.dll. See source code for a list of bound functions.

Next
fmifs
Previous
const
Copyright © 2026, Wanadev
Made with Sphinx and @pradyunsg's Furo
On this page
  • fileapi
    • CREATION_DISPOSITION
      • CREATION_DISPOSITION.CREATE_ALWAYS
      • CREATION_DISPOSITION.CREATE_NEW
      • CREATION_DISPOSITION.OPEN_ALWAYS
      • CREATION_DISPOSITION.OPEN_EXISTING
      • CREATION_DISPOSITION.TRUNCATE_EXISTING
    • lib