Apple Network Setup Manual de usuario Pagina 32

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 184
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 31
CHAPTER 2
Using Network Setup
32 Working with Entities
SetHandleSize( (Handle) entityRefs, entityCount * sizeof(CfgEntityRef) );
err = MemError();
}
if ((err == noErr) && (entityInfos != nil)) {
SetHandleSize( (Handle) entityInfos, entityCount * sizeof(CfgEntityInfo) );
err = MemError();
}
if (err == noErr) {
if (entityRefs == nil) {
paramRefs = nil;
} else {
sRefs = HGetState( (Handle) entityRefs ); assert(MemError() ==
noErr);
HLock( (Handle) entityRefs ); assert(MemError() ==
noErr);
paramRefs = *entityRefs;
}
if (entityInfos == nil) {
paramInfos = nil;
} else {
sInfos = HGetState( (Handle) entityInfos ); assert(MemError() ==
noErr);
HLock( (Handle) entityInfos ); assert(MemError() ==
noErr);
paramInfos = *entityInfos;
}
err = OTCfgGetEntitiesList(dbRef, area,
entityClass, entityType,
&entityCount, paramRefs, paramInfos);
if (entityRefs != nil) {
HSetState( (Handle) entityRefs, sRefs ); assert(MemError() ==
noErr);
}
if (entityInfos != nil) {
HSetState( (Handle) entityInfos, sInfos ); assert(MemError() ==
noErr);
Vista de pagina 31
1 2 ... 27 28 29 30 31 32 33 34 35 36 37 ... 183 184

Comentarios a estos manuales

Sin comentarios