Skip to content

Latest commit

 

History

History
50 lines (35 loc) · 1.13 KB

CeGetSpecialFolderPath.md

File metadata and controls

50 lines (35 loc) · 1.13 KB

Home

Function name : CeGetSpecialFolderPath

Group: Remote Application Programming (RAPI) - Library: rapi


This function gets the path to a special shell folder.


Code examples:

Pocket PC: base class

Declaration:

DWORD CeGetSpecialFolderPath(
  int nFolder,
  DWORD nBufferLength,
  LPWSTR lpBuffer
);  

FoxPro declaration:

DECLARE INTEGER CeGetSpecialFolderPath IN rapi;
	INTEGER nFolder,;
	INTEGER nBufferLength,;
	LONG    lpBuffer  

Parameters:

[in] Value specifying the folder for which to retrieve the location. This parameter can be one of predefined values.

nBufferLength [in] Size of lpBuffer in characters.

lpBuffer [out] Long pointer to the buffer for the folder path.


Return value:

The length of the returned string indicates success. FALSE indicates a RAPI related failure. To extended error information, call CeRapiGetError.