From INtime 6.0 the INtime Service and Port objects have been deprecated.
New projects should not be started using these features, and existing projects will not work with XM mode. You will receive a compiler warning by default if you use these calls.
Creates a message heap and port for access to a given service.
RTHANDLE CreateRtPortEx(
LPSTR lpszServiceName,
WORD wPortNumber,
WORD wMaxTransactions,
WORD wPortFlags
DWORD dwHeapSize
);
lpszServiceNamewPortNumberwMaxTransactionswPortCreationMask parameter in the SERVICEDESC structure used to create the service named in lpszServiceName parameter.wPortFlagsPRIORITY_QUEUING |
Specifies that tasks should be queued on a priority basis. |
FIFO_QUEUING |
Specifies that tasks should be queued on a FIFO basis. |
NO_FRAGMENTATION |
Specifies that fragmentation is not allowed at this port. |
CREATE_UNBOUND |
Specifies that the port is to be created unbound. No operations are allowed on the port until a call to BindRtPort is made on this port. |
dwHeapSizeBAD_RTHANDLEE_OK 0x0000E_MEM 0x0002E_LIMIT 0x0004E_CONTEXT 0x0005E_PARAM 0x8004E_PORT_ID_USED 0x80E1E_NUC_BAD_BUF 0x80E2Note: Other status values may be generated by the service-specific CreatePort handler.
| Versions | Defined in | Include | Link to |
|---|---|---|---|
| INtime 3.0 | iintime/rt/include/rtbase.h | rt.h | rt.lib |