Example #1
0
        private static DWORD GetLastWin32Error()
        {
            int error = Marshal.GetLastWin32Error();

            return(SecuritySupport.GetDWORDFromInt(error));
        }
Example #2
0
 private static uint GetLastWin32Error() => SecuritySupport.GetDWORDFromInt(Marshal.GetLastWin32Error());