CeRemoveDirectory (RAPI)

Send Feedback

This function deletes an existing empty directory on a remote Microsoft® Windows® CE–based device.

BOOL CeRemoveDirectory(
  LPCWSTR lpPathName 
);

Parameters

  • lpPathName
    [in] Long pointer to a null-terminated string that specifies the path of the directory to be removed. The path must specify an empty directory, and the calling process must have delete access to the directory.

Return Values

Nonzero indicates success. Zero indicates failure. To get extended error information, call CeGetLastError and CeRapiGetError.

Requirements

Pocket PC: Pocket PC 2002 and later
Smartphone: Smartphone 2002 and later
OS Versions: Windows CE 3.0 and later
Header: rapi.h
Library: rapi.lib

See Also

Remote API Functions

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.