NTSTATUS
SepRegQueryDwordValue(
  IN  PCWSTR KeyName,
  IN  PCWSTR ValueName,
  OUT PULONG Value
  );

Routine Description:

    Open regkey KeyName, read a REG_DWORD value specified by ValueName
    and return the value.

Arguments:

    KeyName - name of key to open

    ValueName - name of value to read

    Value - pointer to returned value

Return Value:

    NTSTATUS - Standard Nt Result Code

Notes: