(Page 20 of 32 in this chapter) Version
oamCreateBoard
Description
- Creates a new managed object for a board.
Prototype
- DWORD oamCreateBoard (CTAHD ctahd,
const char *szProduct,
char *szName,
DWORD dwNameSize)
- ctahd [in] Context handle
- szProduct [in] Product type
- szName [out] Pointer to buffer to receive object name
- dwNameSize [out] Size of szName (maximum number of bytes to return including the final null character)
Return Values
- SUCCESS
Events
- None.
Details
- This function creates a new managed object for a board of product type szProduct.
- Each board plug-in supports a different set of product types. The products supported by the set of plug-ins installed on a system can be determined by examining the Supervisor keyword Products[x].
- If the function succeeds, a new managed object is created. A record is created in for the object in the NMS OAM database, containing default keyword settings. A default name and board number are generated for the board.
- The board name is passed back in the function call. The name is added to the list of board names in the Supervisor keyword Boards[x].
- You can retrieve the board number using any oamBoardLookupByXXX function, as described in Section 5.3.
- The board name and board number can be changed by modifying the Name or Number keywords for the board managed object. To learn how to modify keywords, refer to Chapter 4.
- For more information about creating managed objects, see Section 5.4.
See Also
- oamDeleteBoard
(Page 20 of 32 in this chapter) Version
Want to send us feedback on our documentation? Email: Tech_Pubs@nmss.com
Copyright © 2001, Natural MicroSystems, Inc. All rights
reserved.