Enters the region associated with the service. If mutual exclusion is desired between the service thread and the SendMessage handler, the service thread and the SendMessage handler can make this call.
BOOLEAN EnterServiceRegion(
LPSERVICEDESC lpServiceDescriptor
);
lpServiceDescriptorTRUEFALSEE_CONTEXT 0x0005E_EXIST 0x0006lpServiceDescriptor parameter is not a pointer to a valid SERVICEDESC structure.E_TYPE 0x8002E_NUC_BAD_BUF 0x80E2lpControlBuffer parameter is not a valid pointer.| Versions | Defined in | Include | Link to |
|---|---|---|---|
| INtime 3.0 | intime/rt/include/rtserv.h | rtserv.h | rtserv.lib |
RT Service system calls, ExitServiceRSegion SendMessage, SERVICEDESC