IVsDropdownBarClient::GetComboAttributes Method (Int32, UInt32, UInt32, IntPtr)
Visual Studio 2015
Returns information about a drop-down bar/Window combination.
Assembly: Microsoft.VisualStudio.TextManager.Interop (in Microsoft.VisualStudio.TextManager.Interop.dll)
int GetComboAttributes( int iCombo, [OutAttribute] unsigned int% pcEntries, [OutAttribute] unsigned int% puEntryType, [OutAttribute] IntPtr% phImageList )
Parameters
- iCombo
-
Type:
System::Int32
[in] The drop-down bar/Window combination.
- pcEntries
-
Type:
System::UInt32
[in] Count of entries in the combination.
- puEntryType
-
Type:
System::UInt32
[out] Specifies drawing protocol for a combination. Values are taken from the DROPDOWNENTRYTYPE enumeration.
- phImageList
-
Type:
System::IntPtr
[out] Handle to an HIMAGELIST.
Return Value
Type: System::Int32If the method succeeds, it returns S_OK. If it fails, it returns an error code.
From textmgr.idl:
HRESULT IVsDropdownBarClient::GetComboAttributes( [in] long iCombo, [out] ULONG *pcEntries, [out] ULONG *puEntryType );
Any of the out parameters, phImageList, puEntryType, and pcEntries, can be null if the associated information is not needed.
Note |
|---|
phImageList from GetComboAttributes cannot be marshaled across machines. |
Show:
