SECRegistry::EnumerateValues

Enumerates values of the currently open key. EnumerateValues( const DWORD dwValueIndex, CString&strValueName, KeyValueTypes& type_code );

Defined in: SECREG.CPP

Syntax

EnumerateValues( const DWORD dwValueIndex, CString&strValueName, KeyValueTypes& type_code, LPBYTE lpbDataBuffer, DWORD& dwSizeDataBuffer );

EnumerateValues( const DWORD dwValueIndex, CString& strValueName, KeyValueTypes* pTypeCode, LPBYTE lpbDataBuffer, LPDWORDlpdwSizeDataBuffer);

Return Value

Nonzero if value was deleted, otherwise 0.

Parameters

dwValueIndex

Index of value to query.

strValueName

String to receive the enumerated value name.

type_code

KeyValueType to receive the data type.

lpbDataBuffer

A data buffer to receive the value data.

dwSizeDataBuffer

The size of the value data buffer in bytes.

Comments

Encapsulates the RegEnumValue() API.

Developer Notes

For 32-bit only. Check SECREG.H for optional parameters.

See Also

SECRegistry  EnumerateKeys