Rechercher une page de manuel
Extract.3w
Langue: en
Version: Jun 2009 (debian - 07/07/09)
Section: 3 (Bibliothèques de fonctions)
NAME
Extract (CABINET.3)SYNOPSIS
HRESULT Extract(
SESSION* dest,
LPCSTR szCabName
)
DESCRIPTION
Extracts the contents of the cabinet file to the specified destination.
PARAMS
dest [In/Out] Controls the operation of Extract. See NOTES.szCabName [In] Filename of the cabinet to extract.
RETURNS
Success: S_OK.
Failure: E_FAIL.
NOTES
The following members of the dest struct control the operation of Extract: FileSize [Out] The size of all files extracted up to CurrentFile. Error [Out] The error in case the extract operation fails. FileList [In] A linked list of filenames. Extract only extracts. files from the cabinet that are in this list. FileCount [Out] Contains the number of files in FileList on. completion. Operation [In] See Operation. Destination [In] The destination directory. CurrentFile [Out] The last file extracted. FilterList [In] A linked list of files that should not be extracted.
Operation If Operation contains EXTRACT_FILLFILELIST, then FileList will be filled with all the files in the cabinet. If Operation contains EXTRACT_EXTRACTFILES, then only the files in the FileList will be extracted from the cabinet. EXTRACT_FILLFILELIST can be called by itself, but EXTRACT_EXTRACTFILES must have a valid FileList in order to succeed. If Operation contains both EXTRACT_FILLFILELIST and EXTRACT_EXTRACTFILES, then all the files in the cabinet will be extracted.
IMPLEMENTATION
Defined in "cabinet.h".
Implemented in "dlls/cabinet/cabinet_main.c".
Debug channel "cabinet".
Contenus ©2006-2024 Benjamin Poulain
Design ©2006-2024 Maxime Vantorre