IVsProjectCfgProvider.GetCfgs(UInt32, IVsCfg[], UInt32[], UInt32[]) 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.
Returns one or more configuration objects.
int GetCfgs(unsigned int celt, std::Array <Microsoft::VisualStudio::Shell::Interop::IVsCfg const &> const & rgpcfg, std::Array <unsigned int> const & pcActual, std::Array <unsigned int> const & prgfFlags);
public int GetCfgs (uint celt, Microsoft.VisualStudio.Shell.Interop.IVsCfg[] rgpcfg, uint[] pcActual, uint[] prgfFlags);
abstract member GetCfgs : uint32 * Microsoft.VisualStudio.Shell.Interop.IVsCfg[] * uint32[] * uint32[] -> int
Public Function GetCfgs (celt As UInteger, rgpcfg As IVsCfg(), Optional pcActual As UInteger(), Optional prgfFlags As UInteger()) As Integer
Parameters
- celt
- UInt32
[in] Number of configuration objects to be returned or zero, indicating a request for an unknown number of objects.
- rgpcfg
- IVsCfg[]
[in, out, size_is(celt)] On input, pointer to an interface array or null
. On output, this parameter points to an array of IVsCfg interfaces belonging to the requested configuration objects.
- pcActual
- UInt32[]
[out, optional] Pointer to the number of configuration objects actually returned or null
, if this information is not necessary.
- prgfFlags
- UInt32[]
[out, optional] Flags that specify settings for project configurations, or null
if no additional flag settings are required. For valid prgrFlags
values, see __VSCFGFLAGS.
Returns
If the method succeeds, it returns S_OK. If it fails, it returns an error code.
Implements
Remarks
COM Signature
From vsshell.idl:
HRESULT IVsProjectCfgProvider::GetCfgs(
[in] ULONG celt,
[in, out, size_is(celt)] IVsCfg *rgpcfg[],
[out, optional] ULONG *pcActual,
[out, optional] VSCFGFLAGS *prgfFlags
);