Lists all drive aliases in the current drawing and all attached source drawings.
struct resbuf*
ade_aliasgetlist();
Returns the list of drive aliases or NULL.
The following sample populates a resbuf with drive aliases using ade_aliasgetlist(). The contents of the resbuf are displayed and the resbuf is released as required.
struct resbuf* pDriveAliasRb = ade_aliasgetlist(); if(pDriveAliasRb != NULL) { struct resbuf* rb = pDriveAliasRb; while(rb != NULL) { if (rb->restype == RTSTR) { acutPrintf( "\n\nThe \"%s\" alias contained the value:" , rb->resval.rstring); if (NULL != (rb = rb->rbnext)) { acutPrintf( " \"%s\"" , rb->resval.rstring); } } rb = rb->rbnext; } } else{ acutPrintf( "\nNo alias could be determined."); } acutRelRb(pDriveAliasRb);