RETERR NdiRegSetValue(hndi, lpszSubKey, lpszValueName, dwType, lpValue, cbValue)
HNDI hndi;               // NDI handle
LPCSTR lpszSubKey;       // address of subkey buffer
LPCSTR lpszValueName;    // address of value name buffer
DWORD dwType;            // value type
LPCSTR lpValue;          // address of value buffer
DWORD cbValue;           // number of bytes in value buffer
 
The NdiRegSetValue function sets a registry value under the given NDI object's registry section.