Главная страница
Top.Mail.Ru    Яндекс.Метрика
Текущий архив: 2002.11.04;
Скачать: 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 вся ветка

Текущий архив: 2002.11.04;
Скачать: CL | DM;

Наверх




Память: 0.46 MB
Время: 0.019 c
1-11157
BofA
2002-10-24 13:03
2002.11.04
Проблемы с кодировкой в TEdit


14-11473
Сатир
2002-10-15 19:22
2002.11.04
Do not localize


6-11376
Beglec
2002-08-22 04:09
2002.11.04
Прослушка портов в Windows Xp


14-11443
vopros
2002-10-10 11:57
2002.11.04
Когда нам дадут медаль?


4-11543
raiks
2002-09-22 11:55
2002.11.04
Подавить звук, производимый системой при нажатии на Enter в TEdit