Group: Remote Application Programming (RAPI) - Library: rapi
DWORD CeGetSpecialFolderPath(
int nFolder,
DWORD nBufferLength,
LPWSTR lpBuffer
);
DECLARE INTEGER CeGetSpecialFolderPath IN rapi;
INTEGER nFolder,;
INTEGER nBufferLength,;
LONG lpBuffer
[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.
The length of the returned string indicates success. FALSE indicates a RAPI related failure. To extended error information, call CeRapiGetError.