Previous Topic: Related FunctionsNext Topic: EApiCountCardManyAsc


Example

#include <eapidef.h>
EAPIRC rc = EAPI_SUCCESSFUL_RC;
OBJID nObjectId;
LCOUNT lCount;
nObjectId = 74344L;
rc = EApiCountChkoutsForObj((OBJID) nObjectId,
(PLCOUNT) &lCount);
if ( rc != EAPI_SUCCESSFUL_RC )
printf("Error in EApiCountChkoutsForObj\n");
else
printf("Count = %ld\n", lCount);