网站首页  词典首页

请输入您要查询的函数:

 

术语 getsystemwow64directory
释义 GetSystemWow64Directory
语法:
C++
UINT WINAPI GetSystemWow64Directory(
__out LPTSTR lpBuffer,
__in UINT uSize
);
GetSystemWow64Directory功能
检索路径的WOW64下使用的系统目录。此目录是不存在的32位Windows。
参数
lpBuffer [out]
一个缓冲区指针接收路径。这条道路并没有结束以反斜杠。
uSize [in]
缓冲区的最大大小,在TCHARs。
返回值
如果函数成功,返回值是长度,TCHARs,复制到缓冲区的字符串,不包括终止空字符。如果长度大于缓冲区的大小,返回值是须持有的路径缓冲区的大小。
如果函数失败,返回值是零。为了获得更多错误信息,调用GetLastError。
在32位Windows,函数总是失败,并且扩展的错误设置为ERROR_CALL_NOT_IMPLEMENTED。
备注
WOW64使用的系统目录共享存储在64位Windows 32位代码。大多数应用程序没有任何需要访问这个目录明确。
WOW64上的更多信息,请参见运行32位应用程序。
要编译的应用程序使用此功能,定义_WIN32_WINNT为0x0501或更高版本。有关详细信息,请参阅使用Windows头。
要求:
最低支持client-Windows XP
最低支持serverWindows服务器2003
HeaderWinbase.h(头文件:winuser.h)
LibraryKernel32.lib
DLLKernel32.dll
Unicode和ANSI namesGetSystemWow64DirectoryW(Unicode)和GetSystemWow64DirectoryA(ANSI)的
参见
系统信息功能
如果有任何问题和意见,请发送给微软(wsddocfb@microsoft.com)
生成日期:2009年8月27日
==英文原文==GetSystemWow64Directory Function
Retrieves the path of the system directory used by WOW64. This directory is not present on 32-bit Windows.
Syntax
C++
UINT WINAPI GetSystemWow64Directory(
__out LPTSTR lpBuffer,
__in UINT uSize
);
Parameters
lpBuffer [out]
A pointer to the buffer to receive the path. This path does not end with a backslash.
uSize [in]
The maximum size of the buffer, in TCHARs.
Return Value
If the function succeeds, the return value is the length, in TCHARs, of the string copied to the buffer, not including the terminating null character. If the length is greater than the size of the buffer, the return value is the size of the buffer required to hold the path.
If the function fails, the return value is zero. To get extended error information, call GetLastError .
On 32-bit Windows, the function always fails, and the extended error is set to ERROR_CALL_NOT_IMPLEMENTED.
Remarks
WOW64 uses the system directory to store shared 32-bit code on 64-bit Windows. Most applications have no need to access this directory explicitly.
For more information on WOW64, see Running 32-bit Applications .
To compile an application that uses this function, define _WIN32_WINNT as 0x0501 or later. For more information, see Using the Windows Headers .
Requirements
Minimum supported clientWindows XP
Minimum supported serverWindows Server 2003
HeaderWinbase.h (include Windows.h)
LibraryKernel32.lib
DLLKernel32.dll
Unicode and ANSI namesGetSystemWow64DirectoryW (Unicode) and GetSystemWow64DirectoryA (ANSI)
See Also
System Information Functions
Send comments about this topic to Microsoft
Build date: 8/27/2009
==原始网址==http://msdn.microsoft.com/en-us/library/ms724405(VS.85).aspx\n
随便看

 

windows api函数参考手册包含2258条windows api函数文档,详细介绍nodejs、java、rust调用windows api的方法技巧,是学习windows api编程的入门中文文档。

 

Copyright © 2004-2023 Winrtm.com All Rights Reserved
京ICP备2021023879号-40 更新时间:2024/10/6 13:17:14