Partager via


IVsSolutionBuildManager.FindActiveProjectCfg Method

Definition

Determines the project configuration that is currently active.

public int FindActiveProjectCfg (IntPtr pvReserved1, IntPtr pvReserved2, Microsoft.VisualStudio.Shell.Interop.IVsHierarchy pIVsHierarchy_RequestedProject, Microsoft.VisualStudio.Shell.Interop.IVsProjectCfg[] ppIVsProjectCfg_Active);
abstract member FindActiveProjectCfg : nativeint * nativeint * Microsoft.VisualStudio.Shell.Interop.IVsHierarchy * Microsoft.VisualStudio.Shell.Interop.IVsProjectCfg[] -> int
Public Function FindActiveProjectCfg (pvReserved1 As IntPtr, pvReserved2 As IntPtr, pIVsHierarchy_RequestedProject As IVsHierarchy, Optional ppIVsProjectCfg_Active As IVsProjectCfg()) As Integer

Parameters

pvReserved1
IntPtr

nativeint

[in] Reserved. Must be null.

pvReserved2
IntPtr

nativeint

[in] Reserved. Must be null.

pIVsHierarchy_RequestedProject
IVsHierarchy

[in] Pointer to an IVsHierarchy_RequestedProject object.

ppIVsProjectCfg_Active
IVsProjectCfg[]

[out] Pointer to a pointer to an IVsProjectCfg_Active object.

Returns

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

Remarks

COM Signature

From vsshell.idl:

HRESULT IVsSolutionBuildManager::FindActiveProjectCfg(  
   [in, unique] IVsHierarchy *pvReserved1,  
   [in, unique] LPCOLESTR pvReserved2,  
   [in, unique] IVsHierarchy *pIVsHierarchy_RequestedProject,  
   [out, optional] IVsProjectCfg **ppIVsProjectCfg_Active  
);  

Applies to