IVsUpdateSolutionEvents2::UpdateProjectCfg_Begin Method (IVsHierarchy^, IVsCfg^, IVsCfg^, UInt32, Int32)

 

Called right before a project configuration begins to build.

Namespace:   Microsoft.VisualStudio.Shell.Interop
Assembly:  Microsoft.VisualStudio.Shell.Interop (in Microsoft.VisualStudio.Shell.Interop.dll)

int UpdateProjectCfg_Begin(
	IVsHierarchy^ pHierProj,
	IVsCfg^ pCfgProj,
	IVsCfg^ pCfgSln,
	unsigned int dwAction,
	int% pfCancel
)

Parameters

pHierProj
Type: Microsoft.VisualStudio.Shell.Interop::IVsHierarchy^

[in] Pointer to a hierarchy project object.

pCfgProj
Type: Microsoft.VisualStudio.Shell.Interop::IVsCfg^

[in] Pointer to a configuration project object.

pCfgSln
Type: Microsoft.VisualStudio.Shell.Interop::IVsCfg^

[in] Pointer to a configuration solution object.

dwAction
Type: System::UInt32

[in] Double word containing the action.

pfCancel
Type: System::Int32

[in, out] Pointer to a flag indicating cancel.

Return Value

Type: System::Int32

If the method succeeds, it returns S_OK. If it fails, it returns an error code.

From vsshell.idl:

HRESULT IVsUpdateSolutionEvents2::UpdateProjectCfg_Begin(
   [in] IVsHierarchy *pHierProj,
   [in] IVsCfg *pCfgProj,
   [in] IVsCfg *pCfgSln,
   [in] DWORD dwAction,
   [in, out] BOOL *pfCancel
);
Return to top
Show: