
Description of the DP Functions, Data, and Error Codes
DP Base Programming Interface for CP 5613/CP 5614
114
C79000-G8976-C108-01
4.1.23 DP_delete_sema_object
Purpose
This function deletes a previously initialized semaphore.
Syntax
DPR_DWORD DP_delete_sema_object (
DPR_DWORD user_handle, // in
DPR_DWORD sema_handle, // in
DP_ERROR_T *error ); // out
Parameters
Name Description
user_handle User handle assigned with the DP_open call.
sema_handle Semaphore handle
error Address of a structure provided by the user program of the
type DP_ERROR_T - If an error occurred, the structure
contains details for troubleshooting (see Section 4.4).
Return Value
Name Description
DP_OK The semaphore could be removed.
other Unsuccessful completion of the function.
Comentarios a estos manuales