Pelles C forum
C language => Windows questions => Topic started by: czerny on October 16, 2014, 12:31:55 AM
-
I have found in the export table of Kernel32 the function LZCreateFileW.
This is not documented. It is obviously a companion function to the LZxxx functions for file compression.
I have found the following declaration:
ULONG WINAPI LZCreateFileW (IN LPCWSTR FileName,
IN DWORD dwDesiredAccess,
IN DWORD dwShareMode,
IN DWORD dwCreationDisposition,
IN LPWSTR lpString1 );
this is similar to CreateFile(). But I can not guess what lpString1 does.
Any ideas?
-
this is similar to CreateFile(). But I can not guess what lpString1 does.
Any ideas?
The name of the file?
-
Just copy filename to buffer even read first 14 bytes from file compressed with option -R
-
this is similar to CreateFile(). But I can not guess what lpString1 does.
Any ideas?
The name of the file?
That is the first parameter.
-
Just copy filename to buffer even read first 14 bytes from file compressed with option -R
I don't understand.
-
Just copy filename to buffer even read first 14 bytes from file compressed with option -R
I don't understand.
That function just copy 1. parameter as filename to 4. parameter as string buffer.
Test file was packed with compress.exe option -R so there was information of last char for filename 'l'
lz32.dl_ -> lz32.dll
Some info here (http://www.cabextract.org.uk/libmspack/doc/szdd_kwaj_format.html)
-
Just copy filename to buffer even read first 14 bytes from file compressed with option -R
I don't understand.
That function just copy 1. parameter as filename to 4. parameter as string buffer.
Test file was packed with compress.exe option -R so there was information of last char for filename 'l'
lz32.dl_ -> lz32.dll
Some info here (http://www.cabextract.org.uk/libmspack/doc/szdd_kwaj_format.html)
Thank you! That's it.