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 "TerminateProcess" in [All]

kernel32

.
Summary
.

static extern bool TerminateProcess(IntPtr hProcess, uint uExitCode);

.

Declare Auto Function TerminateProcess Lib "KERNEL32.DLL" (ByVal hProcess As IntPtr, _

.
Documentation
[TerminateProcess] on MSDN

coredll

.

static extern int TerminateProcess(IntPtr processIdOrHandle, IntPtr exitCode);

.

Declare Function TerminateProcess Lib "coredll.dll" (ByVal processIdOrHandle As IntPtr, ByVal exitCode As IntPtr) As Integer

.

    TerminateProcess(GetCurrentProcessId(), (IntPtr)0);

.

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/wcecoreos5/html/wce50lrfterminateprocess.asp

Enums

.

    ''' <summary>Enables usage of the process handle in the TerminateProcess function to terminate the process.</summary>

.

     """Enables usage of the process handle in the TerminateProcess function to terminate the process."""

wtsapi32

.

static extern bool WTSTerminateProcess(IntPtr hServer, int processId, int exitCode);


 
Access PInvoke.net directly from VS: