다음을 통해 공유


IVsSccGlyphs.GetCustomGlyphList Method

Definition

Overloads

GetCustomGlyphList(UInt32, IntPtr)
GetCustomGlyphList(UInt32, UInt32)

Called by the IDE to get a custom glyph image list for source control status.

GetCustomGlyphList(UInt32, IntPtr)

public:
 int GetCustomGlyphList(System::UInt32 BaseIndex, [Runtime::InteropServices::Out] IntPtr % pdwImageListHandle);
public int GetCustomGlyphList (uint BaseIndex, out IntPtr pdwImageListHandle);
abstract member GetCustomGlyphList : uint32 * nativeint -> int
Public Function GetCustomGlyphList (BaseIndex As UInteger, ByRef pdwImageListHandle As IntPtr) As Integer

Parameters

BaseIndex
UInt32
pdwImageListHandle
IntPtr

nativeint

Returns

Applies to

GetCustomGlyphList(UInt32, UInt32)

Called by the IDE to get a custom glyph image list for source control status.

public:
 int GetCustomGlyphList(System::UInt32 BaseIndex, [Runtime::InteropServices::Out] System::UInt32 % pdwImageListHandle);
int GetCustomGlyphList(unsigned int BaseIndex, [Runtime::InteropServices::Out] unsigned int & pdwImageListHandle);
public int GetCustomGlyphList (uint BaseIndex, out uint pdwImageListHandle);
abstract member GetCustomGlyphList : uint32 * uint32 -> int
Public Function GetCustomGlyphList (BaseIndex As UInteger, ByRef pdwImageListHandle As UInteger) As Integer

Parameters

BaseIndex
UInt32

[in] Value to add when returning glyph index.

pdwImageListHandle
UInt32

[out] Handle to the custom image list.

Returns

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

Remarks

COM Signature

From ivssccglyphs.idl

HRESULT GetCustomGlyphList(  
   [in] ULONG BaseIndex,  
   [out] PDWORD_PTR pdwImageListHandle  
);  

If later calls to the GetSccGlyph method returns a value greater than or equal to BaseIndex, then the IDE looks in the custom glyph list that it received from this method to draw the state icon in place of the existing image list.

Applies to