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 |
); |
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.
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.
file: /Techref/os/win/api/win32/func/src/f31_16.htm, 2KB, , updated: 2000/4/7 11:19, local time: 2024/11/10 07:32,
3.142.133.30:LOG IN ©2024 PLEASE DON'T RIP! THIS SITE CLOSES OCT 28, 2024 SO LONG AND THANKS FOR ALL THE FISH!
|
©2024 These pages are served without commercial sponsorship. (No popup ads, etc...).Bandwidth abuse increases hosting cost forcing sponsorship or shutdown. This server aggressively defends against automated copying for any reason including offline viewing, duplication, etc... Please respect this requirement and DO NOT RIP THIS SITE. Questions? <A HREF="http://linistepper.com/techref/os/win/api/win32/func/src/f31_16.htm"> GetExpandedName</A> |
Did you find what you needed? |