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.