Previous Topic: Related FunctionsNext Topic: EApiFetchModelCreateInfo


Example

#include <eapidef.h>
EAPIRC rc = EAPI_SUCCESSFUL_RC;
MODELID nModelId;
CKOID nChkoutId;
DATE szDate;
TIME szTime;
USERID szUserId;
nModelId = 9L;
rc = EApiFetchModelChkoutInfo(nModelId,
&nChkoutId,
szDate,
szTime,
szUserId);
if ( rc != EAPI_SUCCESSFUL_RC )
printf("Error in EApiFetchChkoutInfo\n");
else
{
printf("Checkout Id = %ld\n", nChkoutId);
printf("Date = %s\n", szDate);
printf("Time = %s\n", szTime);
printf("UserId = %s\n", szUserId);
}