Search
Module:
Directory

   Desktop Functions:

   Smart Device Functions:


Show Recent Changes
Subscribe (RSS)
Misc. Pages
Comments
FAQ
Helpful Tools
Playground
Suggested Reading
Website TODO List
Download Visual Studio Add-In

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.

.
Documentation
[SetThreadErrorMode] on MSDN

 
Access PInvoke.net directly from VS: