This function retrieves the path to a special shell folder on a remote Windows Embedded CE–based device.
DWORD CeGetSpecialFolderPath( Int nFolder, DWORD nBufferLength, LPWSTR lpBuffer );
[in] Value specifying the special shell folder you want. This value can be one of the following symbols defined in the ShlObj.h header file.
File system directory that serves as a common repository for application-specific data.
File system directory that contains file objects in the user's Recycle Bin. The location of this directory is not in the registry; it is marked with the hidden and system attributes to prevent the user from moving or deleting it. Not valid for Windows CE 5.0 and later.
Virtual folder that contains the desktop items. This is the folder at the root of the virtual namespace.
File system directory used to physically store file objects on the desktop (not to be confused with the desktop folder itself).
My Computer, which is a virtual folder that contains everything on the local computer: storage devices, and printers. The folder may also contain mapped network drives. Not valid for Windows CE 5.0 and later.
File system directory that serves as a common repository for the user's favorite items.
Virtual folder containing fonts.
Network Neighborhood Folder, which is a virtual folder that represents the top level of the network hierarchy. Not valid for Windows CE 5.0 and later.
File system directory that serves as a common repository for documents.
Folder that contains the profile of the user.
Program files folder.
File system directory that contains the user's program groups (which are also file system directories).
File system directory that contains the user's most recently used documents.
File system directory that contains Start menu items.
File system directory that corrsponds to the user's Startup program group. The system starts these programs when a device is powered on.
[in] Size of lpBuffer in characters.
[out] Long pointer to the buffer for the folder path.