Deletes the mailbox specified by the handle given.
BOOLEAN DeleteRtMailbox(
RTHANDLE hMailbox // handle for mailbox to be deleted
);
hMailboxIf any threads are queued at the mailbox at deletion time, they are awakened with an E_EXIST exceptional condition. If there is a queue of object handles or data messages, the queue is discarded. Deleting the mailbox counts toward the object limit for the containing process.
TRUEFALSEE_OK 0x0000E_EXIST 0x0006hMailbox contains an invalid handle.hMailbox represents a mailbox for a process being deleted.E_TYPE 0x8002hMailbox requires an RT handle for a mailbox.E_INVALID_ADDRESS 0x00E2| Versions | Defined in | Include | Link to |
|---|---|---|---|
| INtime 3.0 | intime/rt/include/rtbase.h | rt.h | rt.lib |