Function dokan::map_kernel_to_user_create_file_flags[][src]

pub fn map_kernel_to_user_create_file_flags(
    desired_access: ACCESS_MASK,
    file_attributes: u32,
    create_options: u32,
    create_disposition: u32
) -> UserCreateFileFlags

Converts the arguments passed to FileSystemHandler::create_file to flags accepted by the Win32 CreateFile function.

Dokan forwards the parameters directly from IRP_MJ_CREATE. This functions converts them to corresponding flags in Win32, making it easier to process them.