IInputPersonalizationManager::CreateExistingComponentInstance method
Gets a new instance of an existing IInputPersonalizationDataSink object.
Syntax
HRESULT CreateExistingComponentInstance(
[in] LPCWSTR pwszProjectName,
[in] LPCWSTR pwszProjectDirectory,
[in] long lCreationFlags,
[out] IInputPersonalizationDataSink **ppInputPersonalizationDataSink
);
Parameters
pwszProjectName [in]
The name of the component instance.pwszProjectDirectory [in]
The path to the project directory.lCreationFlags [in]
The options to configure the component with. Always be 0.ppInputPersonalizationDataSink [out]
A reference to the pointer of the IInputPersonalizationDataSink to be returned.
Return value
If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.