Method ITcFileAccess:RmDir

Delete a directory from the filesystem.

Syntax

virtual HRESULT TCOMAPI RmDir(PCCH szDir); 

Parameter

szDir: (type: PCCH) [in] directory to be deleted.

Return value

If successful, S_OK ("0") or another positive value will be returned, cf. Return values. Extended messages refer in particular to the column HRESULT in ADS Return Codes.

A particularly interesting error code is ADSERR_DEVICE_TIMEOUT if the timeout (5 seconds) has elapsed.

Description

This method deletes a directory as defined by the szDir parameter.