NWGetMediaMgrObjChildrenList

Returns a list of children belonging to a given media manager parent object.

Local Servers:blocking
Remote Servers:blocking
NetWare Server:4.x, 5.x, 6.x
Platform:NLM, Windows NT, Windows 95, Windows 98
Library:Cross-Platform NetWare Calls (CAL*.*)
Service:Server Environment

Syntax

  #include <nwfse.h> 
  or 
  #include <nwcalls.h> 
   
  NWCCODE N_API  NWGetMediaMgrObjChildrenList  ( 
     NWCONN_HANDLE                      conn,  
     nuint32                            startNum,  
     nuint32                            objType,  
     nuint32                            parentObjNum,  
     NWFSE_MEDIA_MGR_OBJ_LIST  N_FAR   *fseMediaMgrObjList);
  

Delphi Syntax

  uses calwin32 
   
  Function NWGetMediaMgrObjChildrenList 
    (conn : NWCONN_HANDLE; 
     startNum : nuint32; 
     objType : nuint32; 
     parentObjNum : nuint32; 
     Var fseMediaMgrObjList : NWFSE_MEDIA_MGR_OBJ_LIST 
  ) : NWCCODE;
  

Parameters

conn
(IN) Specifies the NetWare server connection handle.
startNum
(IN) Specifies the value returned in nextStartObjNum of NWFSE_MEDIA_MGR_OBJ_LIST; Normally, zero (0) on the first call.
objType
(IN) Specifies one of the types defined in nwfse.h, such as ADAPTER_OBJECT or MIRROR_OBJECT.
parentObjNum
(IN) Specifies the parent object ID number such as one returned by NWGetMediaMgrObjList.
fseMediaMgrObjList
(OUT) Points to NWFSE_MEDIA_MGR_OBJ_LIST listing media manager object’s children.

Return Values

These are common return values; see Return Values (Return Values for C) for more information.

0x0000

SUCCESSFUL

0x8979

Invalid Start Number, Object Type, or Parent Object Number

0x897E

NCP_BOUNDARY_CHECK_FAILED

Remarks

To call NWGetMediaMgrObjChildrenList, you must have console operator rights.

NCP Calls

See Also

NWGetLoadedMediaNumList, NWGetMediaMgrObjInfo, NWGetMediaMgrObjList, NWGetMediaNameByMediaNum, NWGetProtocolStkNumsByMediaNum