Share via


IRAPISession::CeRemoveDirectory

A version of this page is also available for

Windows Embedded CE 6.0 R3

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

See Also

Reference

IRAPISession
IRAPISession::CeCreateDirectory