Main Page
    Cookbook/Overview     ImageMeister     the jcprops file     Licensing
    Binary Installation & Configuration [ Win · Mac · Nix · OSX ]     Changes
    Public API
    Source Code Main Page
        Java [ Common · Win · Mac · Nix ]     Native Code [ Common · Win · Mac · Nix ]     Manifest
        Native Code Overviews [ Common · Win · Mac · Nix · Strings ]     Macros [ General · Native Macros ]
        Walkthroughs [ Java only · Java and native ]     Building [ Win · Mac · Nix · OSX ]     Distribution Issues

CWinProcessNT

Represents a process on Windows NT.

[ Windows | Source | Keywords | Summary | Ancestors | All Members | Descendants ]

Quick Index

DESCRIPTION

Class Summary

class CWinProcessNT
{

public:
CWinProcessNT( DWORD dwProcessID, HANDLE hProc );
~CWinProcessNT( void );
static ErrCode getAllProcessInfo( CVector &processes );
void getData( DWORD *cntUsageArrayP, DWORD *th32ProcessIDArray, DWORD *th32DefaultHeapIDArrayP, DWORD *th32ModuleIDArrayP, DWORD *cntThreadsArrayP, DWORD *th32ParentProcessIDArrayP, DWORD *pcPriClassBaseArrayP, DWORD *dwFlagsArrayP, DWORD *dwThreadIDArrayP, HWND *hWndArrayP );
CStr *getFullPath();
protected:
}; // CWinProcessNT

Back to the top of CWinProcessNT


DESCRIPTION

Represents a process on Windows NT.

Back to the top of CWinProcessNT


CWinProcessNT( DWORD dwProcessID, HANDLE hProc );

Constructor

in dwProcessID
the process ID, as retrieved from EnumProcesses
in hProc
the process handle, as retrieved from OpenProcess

	CWinProcessNT( DWORD dwProcessID, HANDLE hProc );

Back to the top of CWinProcessNT


~CWinProcessNT( void );

Destructor

	virtual	~CWinProcessNT( void );

Back to the top of CWinProcessNT


ErrCode getAllProcessInfo( CVector &processes );

Fills the CVector with all the running processes.

in processes
On exit, will contain CWinProcessNT objects representing each running process.

	static ErrCode getAllProcessInfo( CVector &processes );

Back to the top of CWinProcessNT


void getData( DWORD *cntUsageArrayP, DWORD *th32ProcessIDArray, DWORD *th32DefaultHeapIDArrayP, DWORD *th32ModuleIDArrayP, DWORD *cntThreadsArrayP, DWORD *th32ParentProcessIDArrayP, DWORD *pcPriClassBaseArrayP, DWORD *dwFlagsArrayP, DWORD *dwThreadIDArrayP, HWND *hWndArrayP );

Fills the passed in pointers with information on this process.

	virtual void getData( DWORD *cntUsageArrayP, DWORD *th32ProcessIDArray,
					DWORD *th32DefaultHeapIDArrayP, DWORD *th32ModuleIDArrayP,
					DWORD *cntThreadsArrayP, DWORD *th32ParentProcessIDArrayP,
					DWORD *pcPriClassBaseArrayP, DWORD *dwFlagsArrayP,
					DWORD *dwThreadIDArrayP, HWND *hWndArrayP );

Back to the top of CWinProcessNT


CStr *getFullPath();

Returns the full path of this process.

	virtual CStr *getFullPath();

Back to the top of CWinProcessNT


All Members

public:
static ErrCode getAllProcessInfo( CVector &processes );
void getData( DWORD *cntUsageArrayP, DWORD *th32ProcessIDArray, DWORD *th32DefaultHeapIDArrayP, DWORD *th32ModuleIDArrayP, DWORD *cntThreadsArrayP, DWORD *th32ParentProcessIDArrayP, DWORD *pcPriClassBaseArrayP, DWORD *dwFlagsArrayP, DWORD *dwThreadIDArrayP, HWND *hWndArrayP );
CStr *getFullPath();
protected:

Back to the top of CWinProcessNT


Ancestors

Class does not inherit from any other class.

Back to the top of CWinProcessNT


Descendants

Class is not inherited by any others.

Back to the top of CWinProcessNT


Generated from source by the Cocoon utilities on Fri Aug 23 12:34:05 2002 .

Report problems to jkotula@stratasys.com


Main Page · JConfig · ImageMeister · System Properties Repository · WordMeister · Free Samples · Java Freeware · Contact Us · FAQ · Links


Copyright (c) 1997-2002 Samizdat Productions. All Rights Reserved.
WarpMovie, TileMovie, JConfig, ImageMeister and MovieShredder are Trademarks of Samizdat Productions.