int main(void) { char szBPDName[] = "graphics.bpd"; char szBPDPath[PM_MAX_PATH]; printf("The OS name is: %s\n", PM_getOSName()); printf("The SNAP path is: %s\n", PM_getSNAPPath()); if (PM_findBPD(szBPDName, szBPDPath)) printf("The graphics BPD path is: %s%s\n", szBPDPath, szBPDName); else printf("The graphics BPD path cannot be found.\n"); return 0; }
int main(void) { printf("Hello from PM library for %s\n", PM_getOSName()); return 0; }