网站首页  词典首页

请输入您要查询的函数:

 

术语 getexpandedname
释义 GetExpandedName
语法:
C++
INT WINAPI GetExpandedName(
__in LPTSTR lpszSource,
__out LPTSTR lpszBuffer
);
GetExpandedName功能
检索压缩文件原来的名称,如果该文件是由的Lempel - Ziv算法压缩。
参数
lpszSource [in]
压缩的文件的名称。
lpszBuffer [out]
阿一个缓冲区,它接收的压缩文件的原名称的指针。
返回值
如果函数成功,返回值为1。
如果函数失败,返回值是LZERROR_BADVALUE。没有此功能扩展的错误信息,不要调用GetLastError函数。
注意GetExpandedName要求既不SetLastError也不SetLastErrorEx,因此,它的故障不会影响线程的最后错误代码。
备注
缓冲区的内容,指出了lpszBuffer参数是原始的文件名如果文件是使用/ r选项压缩。如果/ r选项,因为没有使用此功能重复的lpszSource参数到lpszBuffer缓冲区的名称。
要求:
最低支持:client-Windows 2000专业版
最低支持server-Windows 2000服务器
HeaderLzexpand.h(头文件:winuser.h)
LibraryLz32.lib
DLLLz32.dll
Unicode和ANSI namesGetExpandedNameW(Unicode)和GetExpandedNameA(ANSI)的
参见
文件压缩和解压
文件管理函数
如果有任何问题和意见,请发送给微软(wsddocfb@microsoft.com)
生成日期:2009年9月3日
==英文原文==GetExpandedName Function
Retrieves the original name of a compressed file, if the file was compressed by the Lempel-Ziv algorithm.
Syntax
C++
INT WINAPI GetExpandedName(
__in LPTSTR lpszSource,
__out LPTSTR lpszBuffer
);
Parameters
lpszSource [in]
The name of the compressed file.
lpszBuffer [out]
A pointer to a buffer that receives the original name of the compressed file.
Return Value
If the function succeeds, the return value is 1.
If the function fails, the return value is LZERROR_BADVALUE. There is no extended error information for this function; do not call GetLastError .
Note GetExpandedName calls neither SetLastError nor SetLastErrorEx ; thus, its failure does not affect a thread's last-error code.
Remarks
The contents of the buffer pointed to by the lpszBuffer parameter is the original file name if the file was compressed by using the /r option. If the /r option was not used, this function duplicates the name in the lpszSource parameter into the lpszBuffer buffer.
Requirements
Minimum supported clientWindows 2000 Professional
Minimum supported serverWindows 2000 Server
HeaderLzexpand.h (include Windows.h)
LibraryLz32.lib
DLLLz32.dll
Unicode and ANSI namesGetExpandedNameW (Unicode) and GetExpandedNameA (ANSI)
See Also
File Compression and Decompression
File Management Functions
Send comments about this topic to Microsoft
Build date: 9/3/2009
==原始网址==http://msdn.microsoft.com/en-us/library/aa364941(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 11:31:14