17 references to WIN32_ERROR
System.Private.Windows.Core (2)
Windows\Win32\Foundation\HRESULT.cs (2)
45public static HRESULT FromWin32(WIN32_ERROR error) 48=> error == WIN32_ERROR.NO_ERROR
System.Windows.Forms (4)
System\Windows\Forms\Control.cs (2)
3768|| (!returnValue && Marshal.GetLastWin32Error() == (int)WIN32_ERROR.ERROR_INVALID_HANDLE) 6030: throw new Win32Exception((int)WIN32_ERROR.ERROR_INVALID_HANDLE);
System\Windows\Forms\Dialogs\CommonDialogs\FolderBrowserDialog.cs (1)
308if (hr == HRESULT.FromWin32(WIN32_ERROR.ERROR_CANCELLED))
System\Windows\Forms\SystemInformation.cs (1)
805return Marshal.GetLastWin32Error() == (int)WIN32_ERROR.ERROR_ACCESS_DENIED;
System.Windows.Forms.Primitives (11)
Generated\Basic.CompilerLog.Util\Basic.CompilerLog.Util.Impl.BasicGeneratedFilesAnalyzerReference\Windows.Win32.PInvoke.ADVAPI32.dll.g.cs (6)
40 internal static extern winmdroot.Foundation.WIN32_ERROR RegCloseKey(winmdroot.System.Registry.HKEY hKey); 44 internal static unsafe winmdroot.Foundation.WIN32_ERROR RegLoadMUIString(winmdroot.System.Registry.HKEY hKey, [Optional] string pszValue, [Optional] Span<char>pszOutBuf, out uint pcbData, uint Flags, [Optional] string pszDirectory) 54 winmdroot.Foundation.WIN32_ERROR __result = PInvoke.RegLoadMUIString(hKey, pszValueLocal, pszOutBufLocal, (uint )pszOutBuf.Length, pcbDataLocal, Flags, pszDirectoryLocal); 64 internal static unsafe winmdroot.Foundation.WIN32_ERROR RegLoadMUIString(winmdroot.System.Registry.HKEY hKey, [Optional] string pszValue, [Optional] Span<char>pszOutBuf, uint Flags, [Optional] string pszDirectory) 72 winmdroot.Foundation.WIN32_ERROR __result = PInvoke.RegLoadMUIString(hKey, pszValueLocal, pszOutBufLocal, (uint )pszOutBuf.Length, default(uint* ), Flags, pszDirectoryLocal); 110 internal static extern unsafe winmdroot.Foundation.WIN32_ERROR RegLoadMUIString(winmdroot.System.Registry.HKEY hKey, [Optional] winmdroot.Foundation.PCWSTR pszValue, [Optional] winmdroot.Foundation.PWSTR pszOutBuf, uint cbOutBuf, [Optional] uint* pcbData, uint Flags, [Optional] winmdroot.Foundation.PCWSTR pszDirectory);
Windows\Win32\PInvoke.LoadLibrary.cs (1)
57if (Marshal.GetLastWin32Error() != (int)WIN32_ERROR.ERROR_INVALID_PARAMETER)
Windows\Win32\Pinvoke.RegLoadMUIString.cs (4)
23var errorCode = RegLoadMUIString( 33if (errorCode == WIN32_ERROR.ERROR_MORE_DATA) 39localizedValue = errorCode == WIN32_ERROR.ERROR_SUCCESS 43return errorCode == WIN32_ERROR.ERROR_SUCCESS;