Previous Topic: Related FunctionsNext Topic: EApiAddObject


Example

#include <eapidef.h>
EAPIRC rc = EAPI_SUCCESSFUL_RC;
OBJID nInObjectId;
ENCYID nEncyId,
OBJID nOutObjectId;
nInObjectId = 74344L;
rc = EApiFetchObjChkoutParentInfo(nInObjectId,
&nOutObjectId,
&eMaxAccess,
&eChgStatus);
if ( rc != EAPI_SUCCESSFUL_RC )
printf("Error in EApiFetchObjChkoutParentInfo\n");
else
{
printf("Parent ObjectId = %ld\n", nOutObjectId);
printf("MaxAccess = %c\n", (char)eMaxAccess);
printf("ChgStatus = %c\n", (char)eChgStatus);
}