Partager via


IVsUpdateSolutionEvents2.UpdateProjectCfg_Begin Method

Definition

Called right before a project configuration begins to build.

public:
 int UpdateProjectCfg_Begin(Microsoft::VisualStudio::Shell::Interop::IVsHierarchy ^ pHierProj, Microsoft::VisualStudio::Shell::Interop::IVsCfg ^ pCfgProj, Microsoft::VisualStudio::Shell::Interop::IVsCfg ^ pCfgSln, System::UInt32 dwAction, [Runtime::InteropServices::Out] int % pfCancel);
int UpdateProjectCfg_Begin(Microsoft::VisualStudio::Shell::Interop::IVsHierarchy const & pHierProj, Microsoft::VisualStudio::Shell::Interop::IVsCfg const & pCfgProj, Microsoft::VisualStudio::Shell::Interop::IVsCfg const & pCfgSln, unsigned int dwAction, [Runtime::InteropServices::Out] int & pfCancel);
public int UpdateProjectCfg_Begin (Microsoft.VisualStudio.Shell.Interop.IVsHierarchy pHierProj, Microsoft.VisualStudio.Shell.Interop.IVsCfg pCfgProj, Microsoft.VisualStudio.Shell.Interop.IVsCfg pCfgSln, uint dwAction, out int pfCancel);
abstract member UpdateProjectCfg_Begin : Microsoft.VisualStudio.Shell.Interop.IVsHierarchy * Microsoft.VisualStudio.Shell.Interop.IVsCfg * Microsoft.VisualStudio.Shell.Interop.IVsCfg * uint32 * int -> int
Public Function UpdateProjectCfg_Begin (pHierProj As IVsHierarchy, pCfgProj As IVsCfg, pCfgSln As IVsCfg, dwAction As UInteger, ByRef pfCancel As Integer) As Integer

Parameters

pHierProj
IVsHierarchy

[in] Pointer to a hierarchy project object.

pCfgProj
IVsCfg

[in] Pointer to a configuration project object.

pCfgSln
IVsCfg

[in] Pointer to a configuration solution object.

dwAction
UInt32

[in] Double word containing the action.

pfCancel
Int32

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

Returns

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

Remarks

COM Signature

From vsshell.idl:

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

Applies to