OpenConfiguration

Open a configuration file. All subsequent calls will from now on refer to this file.
When processing has finished, call CloseConfiguration.

 

HRESULT OpenConfiguration([in]BSTR name);

Parameters

name

[in] Path and file to be opened.

Return Values

S_OK

The configuration is opened.

E_ACCESSDENIED

The parser is locked by an asynchronous operation.

E_FAIL

The file could not be opened.