Share via


IVsDropdownBarClient.GetComboAttributes(Int32, UInt32, UInt32, IntPtr) Method

Definition

Returns information about a drop-down bar/Window combination.

public:
 int GetComboAttributes(int iCombo, [Runtime::InteropServices::Out] System::UInt32 % pcEntries, [Runtime::InteropServices::Out] System::UInt32 % puEntryType, [Runtime::InteropServices::Out] IntPtr % phImageList);
public int GetComboAttributes (int iCombo, out uint pcEntries, out uint puEntryType, out IntPtr phImageList);
abstract member GetComboAttributes : int * uint32 * uint32 * nativeint -> int
Public Function GetComboAttributes (iCombo As Integer, ByRef pcEntries As UInteger, ByRef puEntryType As UInteger, ByRef phImageList As IntPtr) As Integer

Parameters

iCombo
Int32

[in] The drop-down bar/Window combination.

pcEntries
UInt32

[in] Count of entries in the combination.

puEntryType
UInt32

[out] Specifies drawing protocol for a combination. Values are taken from the DROPDOWNENTRYTYPE enumeration.

phImageList
IntPtr

nativeint

[out] Handle to an HIMAGELIST.

Returns

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

Remarks

COM Signature

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.

Applies to