Desktop Functions: Smart Device Functions:
|
SetThreadErrorMode (kernel32)
C# Signature:
[DllImport("kernel32.dll", SetLastError=true)] Use the same flags as for SetErrorMode:
public enum ErrorModes : uint VB Signature:
Declare Function SetThreadErrorMode Lib "kernel32.dll" (ByVal dwNewMode as System.UInt32, ByRef lpOldMode as System.UInt32) As System.Boolean User-Defined Types:None. Alternative Managed API:Do you know one? Please contribute it! Notes:From the Microsoft documentation for SetErrorMode, for systems running Windows 7 and later, "Callers should favor SetThreadErrorMode over SetErrorMode since it is less disruptive to the normal behavior of the system." This API is not supported on systems running versions of Windows that are older than 7. Tips & Tricks:Please add some! Sample Code:Please add some! Please edit this page!Do you have...
Select "Edit This Page" on the right hand toolbar and edit it! Or add new pages containing supporting types needed for this API (structures, delegates, and more). |
|