Creates an RT mailbox.
Visual Basic:
Function ntxCreateRtMailbox( ByVal hLocation As Integer, ByVal dwFlags As Integer) As Integer
Visual C#:
Int32 ntxCreateRtMailbox ( Int32 hLocation, Int32 dwFlags );
hLocation
dwFlags
NTX_OBJECT_MAILBOX |
The mailbox will pass RT object handles. It is mutually exclusive with the NTX_DATA_MAILBOX flag. The mailbox depth may be specified by the MAILBOX_DEPTH(n) macro. |
NTX_DATA_MAILBOX |
The mailbox will pass up to 128-byte messages. In this case, the mailbox depth is initially three messages. |
NTX_FIFO_QUEUING |
Threads will queue in First-In-First-Out order on this object. |
NTX_PRIORITY_QUEUING |
Threads will queue in priority order on this object. |
(Chose one)NTX_DEPTH_8 |
Determines the number of objects that can queue in an object mailbox. It is ignored for data mailboxes. |
A handle for the mailbox object just created.
E_MEM
E_LIMIT
E_SLOT
Versions | Reference |
---|---|
INtime 3.0 | INtimeDotNet |
INtimeDotNet system calls, Mailbox system calls