Freigeben über


IVsHiddenTextClientEx.DrawBannerGlyph Method

Tells client to draw a glyph

Namespace:  Microsoft.VisualStudio.TextManager.Interop
Assembly:  Microsoft.VisualStudio.TextManager.Interop.8.0 (in Microsoft.VisualStudio.TextManager.Interop.8.0.dll)

Syntax

'Declaration
Function DrawBannerGlyph ( _
    pHidReg As IVsHiddenRegion, _
    dwFlags As UInteger, _
    hdc As IntPtr, _
    pRect As RECT() _
) As Integer
int DrawBannerGlyph(
    IVsHiddenRegion pHidReg,
    uint dwFlags,
    IntPtr hdc,
    RECT[] pRect
)
int DrawBannerGlyph(
    [InAttribute] IVsHiddenRegion^ pHidReg, 
    [InAttribute] unsigned int dwFlags, 
    [InAttribute] IntPtr hdc, 
    [InAttribute] array<RECT>^ pRect
)
abstract DrawBannerGlyph : 
        pHidReg:IVsHiddenRegion * 
        dwFlags:uint32 * 
        hdc:IntPtr * 
        pRect:RECT[] -> int
function DrawBannerGlyph(
    pHidReg : IVsHiddenRegion, 
    dwFlags : uint, 
    hdc : IntPtr, 
    pRect : RECT[]
) : int

Parameters

Return Value

Type: System.Int32
If the method succeeds, it returns S_OK. If it fails, it returns an error code.

Remarks

COM Signature

From textmgr2.idl:

HRESULT IVsHiddenTextClientEx::DrawBannerGlyph(
   [in] IVsHiddenRegion *pHidReg,
   [in] DWORD dwFlags,
   [in] HDC hdc,
   [in] RECT *pRect
);

Note

IVsHiddenTextClientEx.DrawBanner is called only if hrbClientDrawn is specified in the region's flags

.NET Framework Security

See Also

Reference

IVsHiddenTextClientEx Interface

Microsoft.VisualStudio.TextManager.Interop Namespace