windows::Win32::System::Memory

Function CreateFileMapping2

pub unsafe fn CreateFileMapping2<P6>(
    file: HANDLE,
    securityattributes: Option<*const SECURITY_ATTRIBUTES>,
    desiredaccess: u32,
    pageprotection: PAGE_PROTECTION_FLAGS,
    allocationattributes: u32,
    maximumsize: u64,
    name: P6,
    extendedparameters: Option<&mut [MEM_EXTENDED_PARAMETER]>,
) -> Result<HANDLE>
where P6: Param<PCWSTR>,