WINMES_E.TXT Driver File Contents (744.zip)

=======================================================================
                      UNLHA32.DLL Ver 0.97 Windows Messages
                             Copyright(C)1998 by Micco
                                    Translated by Hitoshi Ozawa
                                    Release 1998/01/17
=======================================================================

-----------------------------------------------------------------------
%1. API Specification
%2. UNLHA32.DLL Windows Messages
%3. ARCHIVERPROC Definition
%4. EXTRACTINGINFO Structure
%5. EXTRACTINGINFOEX Structure
%6. Process Flow
-----------------------------------------------------------------------
  To sent file extraction progress information to the window which
called UNLHA.DLL, specify the '-n' option. However, a window must be
set to receive this information using the following APIs.
Ü·B

-----------------------------------------------------------------------
%1. API Specification
-----------------------------------------------------------------------

-----------------------------------------------------------------------
BOOL WINAPI UnlhaSetOwnerWindow(HWND _hwnd)
-----------------------------------------------------------------------
Description
	Specify window handle to send UNLHA32.DLL messages.
Return Code
   TRUE   Window attached.
   FALSE  Unable to set window or UNLHA.DLL message already set to
          other window.

-----------------------------------------------------------------------
BOOL WINAPI UnlhaClearOwnerWindow(VOID)
-----------------------------------------------------------------------
Description
   Release windows attached by UnlhaSetOwnerWindow() function.
Return Code
   TRUE  Window released.
   FALSE Unable to release window. UNLHA.DLL currently being used.

-----------------------------------------------------------------------
BOOL WINAPI UnlhaSetOwnerWindowEx(HWND _hwnd, LPARCHIVERPROC _lpArcProc)
-----------------------------------------------------------------------
Description
	Specify function to receive extraction information. If
	_lpArcProc is set to NULL, messages will be sent to window
	pointed _hwnd.
Return Code
	TRUE	No error
	FALSE	Error - UNLHA32.DLL currently extraction file or
		different processing using the specified window.

-----------------------------------------------------------------------
BOOL WINAPI UnlhaKillOwnerWindowEx(HWND _hwnd)
-----------------------------------------------------------------------
Description
	Release window set by UnlhaSetOwnerWindowEx().
Return Code
	TRUE	No error
	FALSE	Error - Windows currently being used.

-----------------------------------------------------------------------
%2. UNLHA32.DLL Windows Messages
-----------------------------------------------------------------------
wm_arcextract

wm_arcextract

nMode = (int)wParam			/* status */
lpEis = (EXTRACTINGINFO FAR *)lParam	/* pointer to structure */

  wm_arcextract contains information on file (file name and size) to
be extracted by UNLHA32.DLL. wm_arcextract message is sent from
UNLHA32.DLL to a window specified in UnlhaSetOwnerWindow(). 

nMode		wParam. Display UNLHA32.DLL progress.

	0 : UNLHA.DLL is about to start processing specified file
	1 : UNLHA.DLL is currently processing specified file
	2 : UNLHA.DLL has finished processing file and is releasing
                      lpEis memory.
	3 : UNLHA32.DLL is about to start processing on the archive
			file. Archive file name is set to szSour-
	    		ceFileName.
	4 : UNLHA32.DLL is about to start writing from the temporary
			file. Archive file name is set to szSour-
	    		ceFileName.

lpEis	        lParam           Pointer toi buffer containing file
                                 information (in EXTRACTINGINFO
                                 structure).
Return Code
@Application that processes this message must return 0. If non-zero
value is returned, UNLHA32.DLL will terminate file extraction. On the
other hand, extraction may be terminated by returning non-zero value.

-----------------------------------------------------------------------
%3. ARCHIVERPROC Definition
-----------------------------------------------------------------------

typedef BOOL CALLBACK ARCHIVERPROC(HWND _hwnd, UINT _uMsg,
            UINT _nState, LPEXTRACTINGINFOEX _lpEis);

    _hwnd        Window handle set by SetOwnerWindowEx.
    _uMsg        Currently set to wm_arcextract.
    _nState      wParam in wm_arcextract. ie. value of nMode.
    _lpEis       Pointer to EXTRACTINGINFOEX structure which contains
		 information on files in the archive.

  To have UNLHA32.DLL continue with the process, set ARCHIVERPROC to
TRUE. To terminate, set ARCHIVERPROC to FALSE. However, if UNLHA32.DLL
is copying back from the temporary file, the process can not be
terminated.

-----------------------------------------------------------------------
%4. EXTRACTINGINFO Structure
-----------------------------------------------------------------------
Type Definition
		typedef struct {
			DWORD	dwFileSize;
			DWORD	dwWriteSize;
			char	szSourceFileName[FNAME32_MAX + 1];
			char	dummy1[3];
			char	szDestFileName[FNAME32_MAX + 1];
			char	dummy[3];
		}  EXTRACTINGINFO

Member Declaration
	dwFileSize		size of file to be extracted
	dwWriteSize		actual size of extracted file
	szSourceFileName	archive file name
	szDestFileName		destination file name

-----------------------------------------------------------------------
%5. EXTRACTINGINFOEX Structure
-----------------------------------------------------------------------
Type Definition
		typedef struct {
	                EXTRACTINGINFO exinfo;
			DWORD dwCompressedSize;
			DWORD dwCRC;
			UINT  uOSType;
			WORD  wRatio;
			WORD  wDate;
			WORD  wTime;
			char  szAttribute[8];
			char  szMode[8];
		} EXTRACTINGINFOEX;

	exinfo			EXTRACTINGINFO structure
	dwCompressedSize	Size of file after compression
	dwCRC			Check sum of file
	uOSType			OS used to compress file
	wRatio			Compression ratio of compressed file
	wDate			Date of compressed file (MS-DOS format)
	wTime			Time of compressed file (MS-DOS format)
	szAttribute		File attribute of compressed file
	szMode			String containging compression method

------------------------------------------------------------------------
%6. Process Flow
------------------------------------------------------------------------
1. Send message in nMode 3 to get archive file name.
2. For each file in the archive, send message in nMode 0 to get file
   name.

  When extracting or compressing a file, following messages are sent:
3. Send message in nMode 0. Able to get file to being operated.
4. Send message in nMode 1. Able to get number of bytes written.
   This message is sent until file is entirely extracted.

  When processing an archive file, following messages pertaining to
temporary file are sent:
5. Send message in nMode 4. Able to get temporary file name.
6. Send message in nMode 1. Able to get number of bytes written.
   This message is sent until temporary file is fully written back.

  When all processes are finished:
7. Send message in nMode 2.

=======================================================================
Download Driver Pack

How To Update Drivers Manually

After your driver has been downloaded, follow these simple steps to install it.

  • Expand the archive file (if the download file is in zip or rar format).

  • If the expanded file has an .exe extension, double click it and follow the installation instructions.

  • Otherwise, open Device Manager by right-clicking the Start menu and selecting Device Manager.

  • Find the device and model you want to update in the device list.

  • Double-click on it to open the Properties dialog box.

  • From the Properties dialog box, select the Driver tab.

  • Click the Update Driver button, then follow the instructions.

Very important: You must reboot your system to ensure that any driver updates have taken effect.

For more help, visit our Driver Support section for step-by-step videos on how to install drivers for every file type.

server: web3, load: 2.86