网站首页  计算机词典

请输入您要查询的字词:

 

字词 getwindowmodulefilename
释义 GetWindowModuleFileName
语法:
UINT GetWindowModuleFileName( HWND hwnd,
LPTSTR lpszFileName,
UINT cchFileNameMax
);
GetWindowModuleFileName功能
该GetWindowModuleFileName函数检索的完整路径和文件与指定的窗口句柄相关的模块名。
参数
hwnd
[in]句柄的模块文件名称将检索窗口。
lpszFileName
[out]指向的缓冲区接收路径和文件名。
cchFileNameMax
[in]指定TCHARs的最大数量,可以到lpszFileName缓冲区复制。
返回值
返回值是进入缓冲区复制TCHARs总数。
备注
在Windows 95/98/Me:GetWindowModuleFileNameW是支持的Unicode(MSLU)微软层。要使用此,您必须将某些文件到您的应用,概述了对Unicode的Microsoft层在Windows 95/98/Me系统。
功能信息
最低DLL版本 user32.dll
在Winuser.h中HeaderDeclared,头文件:winuser.h
import libraryUser32.lib
最低操作系统Windows 95,Windows NT 4.0 SP3的
UnicodeImplemented为ANSI和Unicode版本。
参见
视窗概述
==英文原文==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.
Remarks
Windows 95/98/Me: GetWindowModuleFileNameW is supported by the Microsoft Layer for Unicode (MSLU). To use this, you must add certain files to your application, as outlined in Microsoft Layer for Unicode on Windows 95/98/Me Systems .
Function Information
Minimum DLL Versionuser32.dll
HeaderDeclared in Winuser.h, include Windows.h
Import libraryUser32.lib
Minimum operating systemsWindows 95, Windows NT 4.0 SP3
UnicodeImplemented as ANSI and Unicode versions.
See Also
Windows Overview
==原始网址==http://msdn.microsoft.com/en-us/library/ms633517(VS.85).aspx\n
随便看

 

计算机英汉双解词典包含34412条计算机术语英汉翻译词条,基本涵盖了全部常用计算机术语的翻译及用法,是计算机学习及翻译工作的有利工具。

 

Copyright © 2021-2025 foosec.com All Rights Reserved
更新时间:2026/10/23 22:38:53