API Guide
2-98 API Functions 601355 Rev A
21 VST_COMPONENT_ID CompID;
22 int i;
23
24 VS_Component_GetFields(h,
25 VSID_COMP_TYPE,
&CompType,
26 VSID_COMP_ID,
CompID,
27 VSID_ENDFIELD);
28 printf(“******* Component Handle
*******\n”);
29 printf(“Component Type = %d\n”,
CompType);
30 printf(“Component ID = “);
31 for (i = 0; i < VSD_MAX_COMPONENT_ID;
i++)
32 {
33 printf(“%d”, CompID[i]);
34 if (i < VSD_MAX_COMPONENT_ID - 1)
35 {
36 printf(“, “);
37 }
38 }
39 printf(“\n”);
40 }
Notes
See Also vsapi(l),
• VS_Component_Create(l),• VS_Component_Destroy(l),• VS_Component_SetFields(l),
Note
If the argument list does not end with VSID_ENDFIELD,
unpredictable results occur.