Previous Topic: Related FunctionsNext Topic: EApiFetchCharArrayPrp


Example

#include <eapidef.h>
EAPIRC rc = EAPI_SUCCESSFUL_RC;
OBJID nObjectId;
PRPTYPECODE nPrpTypeCode;
INTVALUE nIntPrp;
nObjectId = 70902L;
nPrpTypeCode = 140;
rc = EApiFetchSingleNumericPrp(nObjectId,
nPrpTypeCode,
&nIntPrp);
if ( rc != EAPI_SUCCESSFUL_RC )
printf("Error in EApiFetchSingleNumericPrp\n");
else
printf("IntPrp = %d\n", nIntPrp);