|
Obtaining Additional Process Information
The Win32 API provides functions for obtaining information about processes.
Some of these functions can be used only for the calling process, because they do
not take a process handle as a parameter. You can use functions that take a
process handle to obtain information about other processes.
- To obtain the command-line string for the current process, use the GetCommandLine function.
- To parse a Unicode command-line string obtained from the Unicode version of GetCommandLine, use the CommandLineToArgvW function.
- To retrieve the STARTUPINFO structure specified when the current process was created, use the GetStartupInfo function.
- To obtain the version information from the executable header, use the GetProcessVersion function.
- To obtain the full path and filename for the executable file containing the
process code, use the GetModuleFileName function.
- To determine whether a process is being debugged, use the IsDebuggerPresent function.
Related Links
Software for Delphi and C++ Builder developers
Software for Visual Studio .NET developers
Software for Visual Basic 6 developers
Delphi Tips&Tricks
MegaDetailed.NET
TMS Scripter Studio Pro components for Delphi/C++Builder
More Online Helps
Win32 Multimedia Programmer's Reference (mmedia.hlp)
OLE Programmer's Reference (ole.hlp)
Microsoft Windows Pen API Programmer's Reference (penapi.hlp)
Microsoft Windows Sockets 2 Reference (sock2.hlp)
Microsoft Windows Telephony API (TAPI) Programmer's Reference (tapi.hlp)
Unix Manual Pages
|