File: constants.pxi

package info (click to toggle)
librapi2 0.15-2.1
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 2,864 kB
  • sloc: ansic: 14,036; sh: 10,572; cpp: 851; python: 338; makefile: 229
file content (12 lines) | stat: -rw-r--r-- 447 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
cdef extern from "rapi.h":
    cdef enum: # dwDesiredAccess
        GENERIC_WRITE                = 0x40000000
        GENERIC_READ                 = 0x80000000

    cdef enum: # dwCreationDisposition 
        CREATE_NEW                   = 1
        CREATE_ALWAYS                = 2
        OPEN_EXISTING                = 3
        OPEN_ALWAYS                  = 4
        TRUNCATE_EXISTING            = 5
        OPEN_FOR_LOADER              = 6