Skip to main content

CreateFileA

Function CreateFileA 

Source
pub unsafe fn CreateFileA<'a>(
    lpfilename: impl IntoParam<'a, PSTR>,
    dwdesiredaccess: FILE_ACCESS_FLAGS,
    dwsharemode: FILE_SHARE_MODE,
    lpsecurityattributes: *mut SECURITY_ATTRIBUTES,
    dwcreationdisposition: FILE_CREATION_DISPOSITION,
    dwflagsandattributes: FILE_FLAGS_AND_ATTRIBUTES,
    htemplatefile: impl IntoParam<'a, HANDLE>,
) -> HANDLE