RSC/MP Programming Manual
API Function Descriptions
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.
USHORT RscClearOption
(ULONG ulOptionsHandle /* in */
,CHAR *pcOptionSelector /* in */
);
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 va lue is zero if the function is successful; otherwise, the function returns
one of these result va lues:
RSC_INI_FILE_NOT_FOUND
5
RSC_INVALID_OPTION_SELECTOR
11
RSC_OPTIONS_AREA_CORRUPTED
34
HP NonStop Remote Server Call (RSC/MP) Programming Manual — 522360-006
10 - 6