PathMatchSpec FunctionSearches a string using a Microsoft MS-DOS wild card match type. Syntax BOOL PathMatchSpec( LPCTSTR pszFileParam, LPCTSTR pszSpec); Parameters
Return Value Returns TRUE if the string matches, or FALSE otherwise. Function Information ================================================================================================================================== GetCompressedFileSizeThe GetCompressedFileSize function retrieves the actual number of bytes of disk storage used to store a specified file. If the file is located on a volume that supports compression and the file is compressed, the value obtained is the compressed size of the specified file. If the file is located on a volume that supports sparse files and the file is a sparse file, the value obtained is the sparse size of the specified file. DWORD GetCompressedFileSize( LPCTSTR lpFileName, LPDWORD lpFileSizeHigh); Parameters
lpFileName lpFileSizeHigh Return ValuesIf the function succeeds, the return value is the low-order DWORD of the actual number of bytes of disk storage used to store the specified file, and iflpFileSizeHigh is non-NULL, the function puts the high-order DWORD of that actual value into theDWORD pointed to by that parameter. This is the compressed file size for compressed files, the actual file size for noncompressed files. If the function fails, and lpFileSizeHigh is NULL, the return value is INVALID_FILE_SIZE. To get extended error information, callGetLastError. If the return value is INVALID_FILE_SIZE and lpFileSizeHigh is non-NULL, an application must callGetLastError to determine whether the function has succeeded (value is NO_ERROR) or failed (value is other than NO_ERROR). Requirements
|
|