NdiRegSetValue


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.

hndi

Identifies the NDI object.

lpszSubKey

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

lpszValueName

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

dwType

REG_SZ for string values, REG_BINARY for binary values.

lpValue

Points to a buffer that contains the value to set.

cbValue

Specifies the number of bytes in lpValue. If dwType is REG_SZ, then cbValue is ignored.