Главная страница
    Top.Mail.Ru    Яндекс.Метрика
Форум: "WinAPI";
Текущий архив: 2002.11.04;
Скачать: [xml.tar.bz2];

Вниз

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 вся ветка

Форум: "WinAPI";
Текущий архив: 2002.11.04;
Скачать: [xml.tar.bz2];

Наверх





Память: 0.44 MB
Время: 0.008 c
14-11392
sanilo
2002-10-17 13:03
2002.11.04
Электронная библиотека


14-11476
Dimushkin
2002-10-10 18:03
2002.11.04
Анализ эл. схем


1-11331
ultrasuper_asd
2002-10-24 01:57
2002.11.04
где найти архиватор под дельфи 6?


14-11403
Arbin
2002-10-02 11:00
2002.11.04
Анализ текста - общение с компом


1-11142
Vaddya
2002-10-23 20:36
2002.11.04
Оператор switch-case





Afrikaans Albanian Arabic Armenian Azerbaijani Basque Belarusian Bulgarian Catalan Chinese (Simplified) Chinese (Traditional) Croatian Czech Danish Dutch English Estonian Filipino Finnish French
Galician Georgian German Greek Haitian Creole Hebrew Hindi Hungarian Icelandic Indonesian Irish Italian Japanese Korean Latvian Lithuanian Macedonian Malay Maltese Norwegian
Persian Polish Portuguese Romanian Russian Serbian Slovak Slovenian Spanish Swahili Swedish Thai Turkish Ukrainian Urdu Vietnamese Welsh Yiddish Bengali Bosnian
Cebuano Esperanto Gujarati Hausa Hmong Igbo Javanese Kannada Khmer Lao Latin Maori Marathi Mongolian Nepali Punjabi Somali Tamil Telugu Yoruba
Zulu
Английский Французский Немецкий Итальянский Португальский Русский Испанский