

Subset Information › EApiFetchSubsetScopingObjs › Example
Example
#include <eapidef.h>
EAPIRC rc = EAPI_SUCCESSFUL_RC;
SUBSETID nSubsetId;
LCOUNT lCount, i;
OBJID nArrayObjIds[100];
nSubsetId = 2L;
lCount = 100L;
rc= EApiFetchSubsetScopingObjs(nSubsetId,
&lCount,
nArrayObjIds);
if ( rc > EAPI_MAXIMUM_COUNT_REACHED_RC)
printf("Error in EApiFetchSubsetScopingObjs\n");
else
{
printf("Count = %ld\n", lCount);
for (i=0; i < lCount; i++)
printf("Object Id[%ld] = %ld\n", i, nArrayObjIds[i]);
}
Copyright © 2014 CA.
All rights reserved.
 
|
|