/* The ShareInfo1 class does not implement the FileEntry
* interface (because it is generated from IDL). Therefore
* we must create an array of objects that do.
*/
srvsvc.ShareInfoCtr1 ctr = (srvsvc.ShareInfoCtr1)info;
MsrpcShareInfo1[] entries = new MsrpcShareInfo1[ctr.count];
for (int i = 0; i < ctr.count; i++) {
entries[i] = new MsrpcShareInfo1(ctr.array[i]);
}
return entries;