Download Sapera CAB Programmer`s Manual

Transcript
CorCabSetPrm
Set a simple CAB parameter of a CAB device
Prototype
CORSTATUS CorCabSetPrm(CORCAB hCab, UINT32 prm, UINT32 value);
Description
Sets a simple CAB parameter of a CAB device.
Input
hCab
Output
None
Return Value
CORSTATUS_ARG_INVALID_VALUE
CORSTATUS_ARG_OUT_OF_RANGE
CORSTATUS_INVALID_HANDLE
CORSTATUS_PRM_INVALID
CORSTATUS_PRM_READ_ONLY
See Also
CorCabGetPrm (page 31), CorCabSetPrms (page 33), CorCabSetPrmEx ( page 34),
CorCabGetPrms (page 31)
CAB resource handle
CAB parameter to set
CorCabSetPrms
Set multiple CAB parameters of a CAB device
Prototype
CORSTATUS CorCabSetPrms (CORCAB hCab, CORPARAM hParam);
Description
Sets multiple CAB parameter of a CAB device.
Input
hCab
CAB resource handle
hParam
Parameters resource handle
Output
None
Return Value
CORSTATUS_ARG_INVALID_VALUE (internal hParam argument)
CORSTATUS_ARG_OUT_OF_RANGE (internal hParam argument)
CORSTATUS_INVALID_HANDLE
CORSTATUS_PRM_INVALID
CORSTATUS_PRM_READ_ONLY
See Also
CorParamLoad function in the Sapera Basic Modules Reference Manual (available as online
version only)
Sapera CAB Programmer's Manual
Sapera CAB Module API • 33