Hcon_Library_Nth_Level_Device_Declare()
Abstract
Declares the specified device to have a special property.
Syntax
Hcon_Library_Nth_Level_Device_Declare (library_ptr, level, vendor, model, declaration_flags)
| Argument | Type | Description |
|---|---|---|
library_ptr |
HconT_Library * |
the device library to examine |
level |
int |
the device level |
vendor |
const char * |
device vendor name |
model |
const char * |
device model name |
declaration_flags |
int |
flag indicating the property to declare for the device |
Return Type
PrgT_Compcode
PrgC_Compcode_Failure if library_ptr is not valid, the device is not found at the specified level, or the device is already on the requested list (legacy or non-legacy); PrgC_Compcode_Success otherwise.
Header
hcon.h
Details
The available declaration_flags are:
HCONC_LIBRARY_DEVICE_DECLARE_LEGACY—device is “legacy” (not available for allocation, but usable if pre-existing on a site)HCONC_LIBRARY_DEVICE_DECLARE_NONLEGACY—device is “active” or “non-legacy” (available for allocation)