CeRemoveDirectory
This function deletes an existing empty directory. CeRemoveDirectory is a RAPI that enables an application that is running on a desktop computer to make function calls on a Microsoft® Windows® CE–based device.
STDAPI_(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 determine whether a function failed because of RAPI errors, call CeRapiGetError. To determine whether a function failed because of non-RAPI errors, call CeGetLastError.
Remarks
This function is a part of the remote RAPI that invokes function calls on a Windows CE–based device. RAPI functions are supported only for applications that run on desktop platforms.
Requirements
Smartphone Platforms: Smartphone 2002 and later
OS Versions: Windows CE 3.0 and later
Header: rapi.h
Library: rapi.lib
Send feedback on this topic to the authors.
© 2005 Microsoft Corporation. All rights reserved.