NdiRegQueryValue


RETERR NdiRegQueryValue(hndi, lpszSubKey, lpszValueName, lpValue, cbValue)
HNDI hndi;    // NDI handle
LPCSTR lpszSubKey;    // address of subkey buffer
LPCSTR lpszValueName;    // address of value name buffer
LPSTR lpValue;    // address of return value buffer
DWORD cbValue;    // number of bytes in return buffer

The NdiRegQueryValue function opens a registry subkey for the NDI object and returns the specified value and closes the key.

hndi

Identifies the NDI object.

lpszSubKey

Points to a buffer that contains the null-terminated subkey string. May be NULL or empty.

lpszValueName

Points to a buffer that contains the null-terminated value name string. May be NULL or empty.

lpValue

Points to a buffer to receive the registry value.

cbValue

Specifies the maximum number of bytes to be copied into lpValue, including the terminating the null character if it is a string value.