Skip to content


Function : Folders
FolderDelete - Deletes a folder.

#include <foldman.h>

    DBHANDLE  hDataDB,
    DBHANDLE  hFolderDB,
    NOTEID  FolderNoteID,
    DWORD  dwFlags);
Description :

This function deletes the given folder. Subfolders within this folder are also deleted.

Parameters : Input : hDataDB - The handle to the open database where the folder resides.

hFolderDB - Must be NULLHANDLE.

FolderNoteID - NOTEID of folder to be deleted.

dwFlags - Reserved for future use. Specify 0L.

Output : (routine) - Return status of the call - indicates either success or what the error is. The return codes include:


ERR_xxx - Error returned by lower level functions. Call OSLoadString to interpret the code.

Sample Usage :

error = FolderDelete(hDB, NULLHANDLE, FNoteID, 0L);
See Also : FolderCopy FolderCreate FolderDocAdd FolderDocCount FolderDocRemove FolderDocRemoveAll FolderMove FolderRename