Skip to content

Latest commit

 

History

History
49 lines (32 loc) · 1.12 KB

CeRemoveDirectory.md

File metadata and controls

49 lines (32 loc) · 1.12 KB

Home

Function name : CeRemoveDirectory

Group: Remote Application Programming (RAPI) - Library: rapi


This function deletes an existing empty directory.


Code examples:

Pocket PC: custom RAPI class for operating with files and folders on mobile device

Declaration:

BOOL CeRemoveDirectory(
  LPCWSTR lpPathName
);  

FoxPro declaration:

DECLARE INTEGER CeRemoveDirectory IN rapi;
	STRING lpPathName  

Parameters:

lpPathName [in] Long pointer to a null-terminated string that specifies the path of the directory to be removed.


Return value:

Nonzero indicates success.


Comments:

The path must specify an empty directory, and the calling process must have delete access to the directory.

See also: CeCreateDirectory, CeCreateFile and CeDeleteFile functions.