ArcDeleteFilesW function

ArcDeleteFilesW function

Top  Previous  Next

Deletes files or folders from archive.

Syntax C++

int __stdcall ArcDeleteFilesW(

                _In_ wchar_t *PackedFile,

                _In_ wchar_t *DeleteList,

                _In_ LONG_PTR Session,

                _In_ ArcProcessDataProcW ProcessDataW,

                _In_ LONG_PTR Reserved

);

 

Parameters

PackedFile [in]

Type: wchar_t*

Full path to the archive (0-terminated string).

DeleteList [in]

Type: wchar_t*

List of deleted files and folders. Format is similar AddList in ArcPackFilesW.

Session [in]

Type: LONG_PTR

Session identifier. Must be passed to ProcessDataW.

ProcessDataW [in]

Type: ArcProcessDataProcW

Feedback function. Delegate to a progress indicator and processing interruption function.

Reserved [in]

Type: LONG_PTR

Reserved. Must be 0.

Return value

Type: int

If success returns 0, otherwise – error code.