Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
A version of this page is also available for
4/8/2010
This method deletes an existing empty directory on a remote Windows Embedded CEābased device.
Syntax
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 write access to the directory.
Return Value
Nonzero indicates success. Zero indicates failure. To get extended error information, call IRAPISession::CeGetLastError and IRAPISession::CeRapiGetError.
Requirements
| Header | rapi2.h |
| Library | ole32.lib, rapiuuid.lib |
| Windows Embedded CE | Windows Embedded CE 6.0 and later |
| Windows Mobile | Windows Mobile Version 5.0 and later |