45 lines
878 B
Python
45 lines
878 B
Python
"""
|
|
Auto-generated Python stub file from os._win32.py
|
|
Module: os._win32
|
|
"""
|
|
|
|
|
|
import t, c
|
|
from stdint import *
|
|
import w32.win32base
|
|
import w32.win32file
|
|
import memhub
|
|
import stdlib
|
|
|
|
MAX_PATH_LEN: t.CDefine = 260
|
|
INVALID_FILE_ATTRIBUTES: t.CDefine = 0xFFFFFFFF
|
|
_mbuddy: t.CExtern | memhub.MemBuddy | t.CPtr
|
|
|
|
def _get_attrs(path: str) -> ULONG: pass
|
|
|
|
def exists(path: str) -> bool: pass
|
|
|
|
def isdir(path: str) -> bool: pass
|
|
|
|
def isfile(path: str) -> bool: pass
|
|
|
|
def getsize(path: str) -> t.CInt64T: pass
|
|
|
|
def getcwd() -> str: pass
|
|
|
|
def chdir(path: str) -> int: pass
|
|
|
|
def mkdir(path: str) -> int: pass
|
|
|
|
def remove(path: str) -> int: pass
|
|
|
|
def rmdir(path: str) -> int: pass
|
|
|
|
def rename(old_path: str, new_path: str) -> int: pass
|
|
|
|
def chmod(path: str, mode: int) -> int: pass
|
|
|
|
def listdir(path: str, out_names: str, max_count: ULONG) -> ULONG: pass
|
|
|
|
def system(cmd: str) -> int: pass
|