RSC/MP 7.2 Programming Manual

API Function Descriptions
HP NonStop Remote Server Call (RSC/MP) Programming Manual522360-004
10-6
RscClearOption [RSCOCL]
RscClearOption [RSCOCL]
The RscClearOption function resets a selected option in an options structure identified
by the ulOptionsHandle parameter to its default value. See Appendix D, API Option
Definitions, for a list of options and their meanings.
ulOptionsHandle
The handle of an existing options structure created through the RscCreateOptions
function call.
pcOptionSelector
The pointer to the option name. This parameter should point to a character string
no longer than 32 bytes (including the NULL terminator or blank padding).
Return Value
The return value is zero if the function is successful; otherwise, the function returns
one of these result values:
USHORT RscClearOption
(ULONG ulOptionsHandle /* in */
,CHAR *pcOptionSelector /* in */
);
RSC_INI_FILE_NOT_FOUND 5
RSC_INVALID_OPTION_SELECTOR 11
RSC_OPTIONS_AREA_CORRUPTED 34