Feedback

  • Contents
 

II3ID::WriteProfileLong Method

Synopsis

This method saves a numeric 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::ReadProfileLong to read an integer value from the registry.

IDL Function Prototype

HRESULT WriteProfileLong(

   [in] BSTR Section,

   [in] BSTR Entry,

   [in] long Value

);

C/C++ Syntax

HRESULT WriteProfileLong(BSTR Section, BSTR Entry, long Value);

Parameters

Section

The section that contains the entry.

Entry

The item you wish to save a value for.

Value

The value to save in the registry on the local machine.