Вверх ↑
Администрация
Ответов: 15295
Рейтинг: 1519
#1: 2006-10-05 01:02:49 ЛС | профиль | цитата
MSDN писал(а):
GetWindowModuleFileName Function

The GetWindowModuleFileName function retrieves the full path and file name of the module associated with the specified window handle.

Syntax

UINT GetWindowModuleFileName(
HWND hwnd,
LPTSTR lpszFileName,
UINT cchFileNameMax
);

Parameters
hwnd
[in] Handle to the window whose module file name will be retrieved.
lpszFileName
[out] Pointer to a buffer that receives the path and file name.
cchFileNameMax
[in] Specifies the maximum number of TCHARs that can be copied into the lpszFileName buffer.

Return Value

The return value is the total number of TCHARs copied into the buffer.


медецина бессильна...
карма: 27
0