SetWefProcessId method

Applies to: yesVisual Studio noVisual Studio for Mac

Note

This article applies to Visual Studio 2017. If you're looking for the latest Visual Studio documentation, see Visual Studio documentation. We recommend upgrading to the latest version of Visual Studio. Download it here

Provides the process identifier that will run Web Extensions Framework (WEF) content.

Syntax

HRESULT SetWefProcessId(
    [in] DWORD dwProcessId
);

Parameters

Parameter Description
dwProcessId The process identifier that will be used to run WEF content.

Return value

An HRESULT value that indicates whether the method completed successfully.

Remarks

This method must be called after the WEF content process is created but before any WEF content runs.

If you want the development environment to attach a debugger to the WEF content process, the environment must perform this operation in your implementation of this method.