Вниз
Скачать: CL | DM;

EnumProcesses   Найти похожие ветки 

← →
Velocity   (2002-09-19 18:07) [0]

Народ, а подскажите плиз, что за ф-ция такая? в хелпе нету её почему-то...


← →
iNew   (2002-09-19 19:09) [1]

The EnumProcesses function retrieves the process identifier for each process object in the system.


BOOL EnumProcesses(
DWORD* lpidProcess,
DWORD cb,
DWORD* cbNeeded
);

Parameters
lpidProcess
[out] Pointer to an array that receives the list of process identifiers.
cb
[in] Size of the lpidProcess array, in bytes.
cbNeeded
[out] Number of bytes returned in the lpidProcess array.
Return Values
If the function succeeds, the return value is nonzero.

If the function fails, the return value is zero. To get extended error information, call GetLastError.

Remarks
It is a good idea to specify a large array of DWORD values, because it is hard to predict how many processes there will be at the time you call EnumProcesses. To determine how many processes were enumerated by the call to EnumProcesses, divide the resulting value in the cbNeeded parameter by sizeof(DWORD). There is no indication given when the buffer is too small to store all process identifiers.



← →
Velocity   (2002-09-22 06:17) [2]

Спасибки



Страницы: 1 вся ветка

Скачать: CL | DM;



Память: 0.44 MB
Время: 0.014 c
3-11042
VikOss
2002-10-14 16:59
2002.11.04
Удаление


4-11567
Infinity2
2002-09-21 02:29
2002.11.04
Как поставить хук на время в XP


6-11366
Oduvan
2002-09-01 16:45
2002.11.04
Научите пожалуйста меня раскодировать строки!!! Плиз!


7-11505
new23
2002-08-29 14:23
2002.11.04
Как узнать запущено приложение с определенным именем или нет?


14-11429
Жорик
2002-10-15 13:04
2002.11.04
ХР-шный интерфейс




   Наверх