Feedback

  • Contents
 

II3ID::WriteProfileString Method

Synopsis

This method saves a string value to the registry. You must specify section and entry names, and the value to save. This process is comparable to writing a value to an INI file. Use II3ID::ReadProfileString to read an integer value from the registry.

IDL Function Prototype

HRESULT WriteProfileString(

   [in] BSTR Section,

   [in] BSTR Entry,

   [in] BSTR Value

);

C/C++ Syntax

HRESULT WriteProfileString(BSTR Section, BSTR Entry, BSTR Value);

Parameters

Section

The section that contains the entry.

Entry

The item you wish to save a value for.

Value

The string value of the specified Entry that will be saved in the registry on the local machine.