DeleteFolder

 

 

DeleteFolder

 

Call DeleteFolder to delete folder in the opened mailbox.

 

Delphi syntax:

         function DeleteFolder(Handle: TMailboxHandle; FolderID: dword): dword;

C++ syntax:

          DWORD WINAPI DeleteFolder(DWORD Handle, DWORD FolderId);

C # syntax:

          static extern int DeleteFolder (int mailboxHandle, int folderId);

 

Parameters:

Handle

 Identifies the mailbox file.

 

FolderId

 Id of folder to delete.

 

Return Values:

Returns OMS_OK if folder deleted, else return Error Code