Company Events Academic NI Developer Zone Support Solutions Products & Services Contact NI MyNI

Delete Registry Key VI

LabVIEW 2011 Help

Edition Date: June 2011

Part Number: 371361H-01

»View Product Info

Owning Palette: Windows Registry Access VIs

Requires: Base Package (Windows)

Deletes the specified key or subkey.

Caution  Incorrectly modifying the registry can damage Windows or prevent you from starting Windows.

Example

refnum is a handle to the open key.
subkey is the name of a subkey of root key. A beginning backslash character \ might cause an error.
registry view specifies whether to delete a 32-bit key or a 64-bit key on a 64-bit operating system.

0Default (default)—LabVIEW selects the type of key based on the version of LabVIEW that is installed. For example, if LabVIEW (64-bit) is installed, LabVIEW deletes a 64-bit key.
8KEY_WOW64_32KEY—Deletes a 32-bit key.
9KEY_WOW64_64KEY—Deletes a 64-bit key.
error in describes error conditions that occur before this node runs. This input provides standard error in functionality.
refnum out is a handle to the open key.
error out contains error information. This output provides standard error out functionality.

Example

Refer to the Delete Windows Registry Key VI in the labview\examples\registry\registry.llb for an example of using the Delete Registry Key VI.


 

Your Feedback! poor Poor  |  Excellent excellent   Yes No
 Document Quality? 
 Answered Your Question? 
Add Comments 1 2 3 4 5 submit