CloseMailbox

Mailbox level API

The CloseMailbox closes mailbox file, opened with OpenMailbox.

 

Delphi syntax:

function CloseMailbox(Handle: dword):dword;

C++ syntax:

DWORD WINAPI CloseMailbox (DWORD StorageHandle);

C# syntax:

static extern int CloseMailbox(int handle);

 

Parameters:

Handle

 Handle of mailbox which was previously opened by OpenMailbox function.

 

Return Values:

On success returns OMS_OK  or an error code if fails.

 

Samples:

Abstract AIRMail SDK API call model

Delphi sample

C# sample

C++ sample

 

 

 

 

© AIRMail SDK Team 2005-2008, please contact as