Returns a control buffer to the service pool. You should invoke this call only to clean up explicitly on certain error-handling conditions. Control buffers are normally automatically released on calling DeliverMessage, DeliverTransaction, or DeliverStatus.
BOOLEAN ReleaseControlBuffer(
LPSERVICEDESC lpServiceDescriptor,
LPCONTROLBUFFER lpControlBuffer
);
xlpServiceDescriptor
lpControlBuffer
TRUE
FALSE
E_CONTEXT 0x0005
E_EXIST 0x0006
lpServiceDescriptor parameter is not a pointer to a valid SERVICEDESC
E_TYPE 0x8002
E_NUC_BAD_BUF 0x80E2
lpControlBuffer 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, DeliverMessage, DeliverTransaction, DeliverStatus, SERVICEDESC, CONTROLBUFFER