Desktop Functions: Smart Device Functions:
|
SetConsoleCtrlHandler (kernel32)
C# Signature:
[DllImport("kernel32.dll")] C# User-Defined Types:User-Defined Types:
// Delegate type to be used as the Handler Routine for SCCH VB.NET Signature:
Private Declare Function SetConsoleCtrlHandler Lib "kernel32" (Handler As ConsoleCtrlDelegate, Add As Boolean) As Boolean VB.NET User-Defined Types:
Private Enum CtrlTypes As UInteger Notes:None. Tips & Tricks:Please add some! Alternative Managed API:Do you know one? Please contribute it! Sample Code:Nice example on MSDN in KeepAlive method description: http://msdn.microsoft.com/library/en-us/cpref/html/frlrfSystemGCClassKeepAliveTopic.asp Alternative Managed API:Do you know one? Please contribute it! 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). |
|