Write Registry Value Simple U32 VI

Writes data to the registry value under the key specified by refnum. Wire data to the String/Binary data input to determine the polymorphic instance to use or manually select the instance.

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


icon

Inputs/Outputs

  • cu32.png DWORD data

    DWORD data is the data of Windows registry type DWORD.

  • cdlrn.png refnum

    refnum is a handle to the open key.

  • cstr.png value

    value is the name of the registry value.

  • cenum.png simple data type

    simple data type is the simplified Windows registry type.

    0
    String
    1
    Binary
    2
    DWORD
  • cerrcodeclst.png error in (no error)

    error in describes error conditions that occur before this node runs. This input provides standard error in functionality.

  • idlrn.png refnum out

    refnum out is a handle to the open key.

  • ierrcodeclst.png error out

    error out contains error information. This output provides standard error out functionality.

  • Examples

    Refer to the following example files included with LabVIEW.

    • labview\examples\Connectivity\Windows Registry Access\Windows Registry Manipulation.vi