IVsSolutionBuildManager.FindActiveProjectCfg Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
);