|
Overview |
|
|
|
Group |
|
|
|
Quick Info
Windows NT
| Yes
| Win95
| Yes
| Win32s
| Yes
| Import Library
| lz32.lib
| Header File
| lzexpand.h
| Unicode
| WinNT
| Platform Notes
| None
|
|
|
GetExpandedName
The GetExpandedName function retrieves the original name of a compressed file, if the file was
compressed by using the Microsoft File Compression Utility (COMPRESS.EXE) and the /r option was specified.
INT GetExpandedName(
LPTSTR lpszSource,
| // address of name of compressed file
| LPTSTR lpszBuffer
| // address of buffer for original filename
| );
|
|
Parameters
lpszSource
Points to a string that specifies the name of a compressed file.
lpszBuffer
Points to a buffer that receives the name of the compressed file.
Return Values
If the function succeeds, the return value is 1.
If the function fails, the return value is LZERROR_BADVALUE.
Note that 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 filename 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.
Related Links
Software for Delphi and C++ Builder developers
Software for Visual Studio .NET developers
Software for Visual Basic 6 developers
Delphi Tips&Tricks
MegaDetailed.NET
TMS Scripter Studio Pro components for Delphi/C++Builder
More Online Helps
Win32 Multimedia Programmer's Reference (mmedia.hlp)
OLE Programmer's Reference (ole.hlp)
Microsoft Windows Pen API Programmer's Reference (penapi.hlp)
Microsoft Windows Sockets 2 Reference (sock2.hlp)
Microsoft Windows Telephony API (TAPI) Programmer's Reference (tapi.hlp)
Unix Manual Pages
|