Admin Production ni-theme
Current Publication

RegRemoveValue

LabWindows/CVI

RegRemoveValue

int RegRemoveValue (unsigned int rootKey, const char subkeyName[], const char valueName[]);

Purpose

This function removes a value from a key in the Registry.

(Linux) This function is not supported.

Parameters

Input
Name Type Description
rootKey unsigned int The Root Key under which the Subkey and its value exist.

See the Windows Registry functions Class help for more information about Root Keys.
subkeyName const char[] The name of the Subkey, relative to the Root Key, from which you wish to remove the value.

See the Windows Registry functions Class help for more information about Subkeys.
valueName const char[] The name of the Value to remove.

See the Windows Registry functions Class help for more information about Key Values.

Return Value

Name Type Description
status int The status code that the function returns.

0 indicates success.

A negative value indicates an error.

This function may return a Programmer's Toolbox or UI Library error code. Call GetGeneralErrorString to obtain a text description of the error.

Additional Information

Library: Programmer's Toolbox

Include file: toolbox\toolbox.h

LabWindows/CVI compatibility: LabWindows/CVI 9.0 and later