etLine([out,retval] DWORD * dwLine);

    [helpstring("Returns the column on which the error occurred")]
    HRESULT GetColumn([out,retval] DWORD * dwColumn);

    [helpstring("Returns the file or path where the error occured")]
    HRESULT GetSource([out,retval] BSTR * file);
};

//_____________________________________________________________________________
//
// ISettingsContext interface
//_____________________________________________________________________________
//

cpp_quote("#define LIMITED_VALIDATION_MODE    0x00000001")


[
    local,
    object, nonextensible, pointer_default(unique),
    uuid(UUID_ISettingsContext),
    helpstring("ISettingsContext Interface"),
]
interface ISettingsContext : IUnknown
{
    [helpstring("Serializes the data in this context into the provided stream")]
    HRESULT Serialize(
        [in] IStream *pStream,
        [in] ITargetInfo *pTarget);

    [helpstring("Deserializes the data in the provided stream into this context")]
    HRESULT Deserialize(
        [in] IStream *pStream,
        [in] ITargetInfo *pTarget,
        [out, size_is(,*pcResultCount)] ISettingsResult ***pppResults,
        [out, retval] SIZE_T *pcResultCount);

    [helpstring("Sets a user defined piece of data")]
    HRESULT SetUserData([in] void *pUserData);

    [helpstring("Gets a user defined piece of data")]
    HRESULT GetUserData([out, retval] void **pUserData);

    [helpstring("Gets the namespaces that exist in the context")]
    HRESULT GetNamespaces([out, retval] IItemEnumerator **ppNamespaceIds);

    [helpstring("Gets the setting changes from the context for the given namespace")]
    HRESULT GetStoredSettings(
        [in]  ISettingsIdentity *pIdentity,
        [out] IItemEnumerator  **ppAddedSettings,
        [out] IItemEnumerator  **ppModifiedSettings,
        [out] IItemEnumerator  **ppDeletedSettings);

    [helpstring("Reverts the setting in the namespace")]
    HRESULT RevertSetting(
        [in] ISettingsIdentity *pIdentity,
