NTSTATUS
FtSetValue(
      HANDLE KeyHandle,
      PUCHAR ValueName,
      PVOID DataBuffer,
      ULONG DataLength,
      ULONG Type
  );

Routine Description:

    This routine stores a value in the configuration registry.

Arguments:

    KeyHandle - HANDLE for the key that will contain the value.
    ValueName - asciiz string for the value name.
    DataBuffer - contents for the value.
    DataLength - length of the value contents.
    Type       - The type of data (i.e. REG_BINARY, REG_DWORD, etc).

Return Value:

    NTSTATUS - from the configuration registry.