GetFolderCount

Top  Previous  Next

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 there’re no folders or Handle is invalid, return 0.

 

See also:

OpenMailbox, GetFolderProp

 

Samples:

Abstract MCore API call model

Delphi sample

C++ sample

 

© MCore Team 2005-2008, please contact as    

 

 

Hosted by uCoz