Desktop Functions: Smart Device Functions:
|
Search Results for "SetThreadErrorMode" in [All]kernel32
static extern bool SetThreadErrorMode(UInt32 dwNewMode, out UInt32 lpOldMode);
Declare Function SetThreadErrorMode Lib "kernel32.dll" (ByVal dwNewMode as System.UInt32, ByRef lpOldMode as System.UInt32) As System.Boolean 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. |