6 #ifndef _INC_cOSProcessX_H
7 #define _INC_cOSProcessX_H
12 #include "../GrayLibBase.h"
22 #elif defined(__linux__)
24 typedef size_t SIZE_T;
41 #if defined(_WIN32) && ! defined(UNDER_CE)
54 #if defined(_WIN32) && ! defined(UNDER_CE)
55 m_hProcess = hProcess;
58 void AttachModule(HANDLE hProcess, HMODULE hModule,
bool bHaveRefCount)
61 #if defined(_WIN32) && ! defined(UNDER_CE)
62 m_hProcess = hProcess;
64 SUPER_t::AttachModule(hModule, bHaveRefCount);
83 #if defined(_WIN32) && ! defined(UNDER_CE)
84 virtual cStringF get_ProcessPath()
const;
88 HMODULE get_ModuleHandle()
const;
#define GRAYCALL
declare calling convention for static functions so everyone knows the arg passing scheme....
Definition: GrayCore.h:36
#define GRAYLIB_LINK
Definition: GrayLibBase.h:35
INT32 HRESULT
_WIN32 style error codes. INT32
Definition: SysTypes.h:465
#define HMODULE_NULL
Definition: cOSModule.h:31
Definition: cOSProcessX.h:35
cOSModuleX(HANDLE hProcess=INVALID_HANDLE_VALUE, HMODULE hModule=HMODULE_NULL, bool bHaveRefCount=false)
Definition: cOSProcessX.h:51
void AttachModule(HANDLE hProcess, HMODULE hModule, bool bHaveRefCount)
Definition: cOSProcessX.h:58
Definition: cOSProcessX.h:69
UNITTEST2_PREDEF(cOSProcessX)
Definition: cArrayString.h:19
Definition: cOSModule.h:34
Definition: cOSProcess.h:68
static const TIMESYS_t k_CLEAR
Definition: cTimeSys.h:99
static const TIMESYS_t k_INF
INFINITE in _WIN32. MAILSLOT_WAIT_FOREVER.
Definition: cTimeSys.h:101
UNITTEST2_PREDEF(cQuadtree)
int StrLen_t
the length of a string in chars (bytes for UTF8, wchar_t for UNICODE). or offset in characters....
Definition: StrConst.h:32
size_t COUNT_t
like size_t but a count of things that might NOT be bytes. ASSUME unsigned. _countof(x)
Definition: Index.h:32
INT32 TIMESYSD_t
Time delta. signed milli-Seconds Span. cTimeSys::k_DMAX, cTimeSys::k_INF = MAILSLOT_WAIT_FOREVER.
Definition: cTimeSys.h:28
int ITERATE_t
like size_t but signed
Definition: Index.h:28
char FILECHAR_t
a UTF8 char in a file name. like TCHAR
Definition: FileName.h:22