pub unsafe extern "system" fn NetAccessGetUserPerms(
    servername: PCWSTR,
    ugname: PCWSTR,
    resource: PCWSTR,
    perms: *mut u32,
) -> u32