30.4 Settable Parameter Flags

The ScanSettableParameters and RegisterSetParameter functions and the settableparms_t structure use the following flags to specify when and who can modify a settable parameter. The following constants can be OR'd together.

Constant

Value

Description

SP_STARTUP_ONLY

0x01

Indicates that the parameter can only be set during startup time.

SP_HIDE

0x02

Causes the parameter to be hidden and therefore settable only by someone who already know its name and possible values.

SP_ADVANCED

0x04

Labels the parameter has an advanced parameter.

SP_STARTUP_OR_LATER

0x08

Indicates the parameter can be set during startup or afterwards.

SP_NOT_SECURED_CONSOLE

0x10

Indicates the parameter can’t be modified if the console has been secured.

SP_RPC_LOCKOUT

0x20

Indicates the parameter can’t be modified on a remote console.

SP_USE_CATEGORY_NAME

0x40000000

Allows you to use the version of RegisterSetParameter that has the catname parameter rather than the categoryNumber parameter.