GetFolderCount

Folder level API

Call GetFolderCount to obtain a folder count in the opened mailbox.

 

Delphi syntax:
function GetFolderCount (Handle: TMailboxHandle): dword;
C++ syntax:
DWORD WINAPI GetFolderCount (DWORD Handle);

C # syntax:
static extern int GetFolderCount (int mailboxHandle);

Parameters:
Handle
  Identifies the mailbox file.


Return Values:
Returns a folder count in the mailbox. If therere no folders or Handle is invalid, return 0.

 

See also:

OpenMailbox, GetFolderProp

 

Samples:

Abstract AIRMail SDK API call model

Delphi sample

C++ sample

 

AIRMail SDK Team 2005-2008, please contact as