Skip to main content

create_file_a

Function create_file_a 

Source
pub fn create_file_a(
    name: *mut u8,
    access: u32,
    mode: u32,
    attributes: *const SECURITY_ATTRIBUTES,
    disposition: u32,
    flags: u32,
    template: HANDLE,
) -> HANDLE
Expand description

Dynamically calls CreateFileA. On success, it returns a valid handle to the specified file. Otherwise, a null handle is returned.