IVsHiddenTextClientEx.DrawBannerGlyph Method

Definition

Tells client to draw a glyph

public:
 int DrawBannerGlyph(Microsoft::VisualStudio::TextManager::Interop::IVsHiddenRegion ^ pHidReg, System::UInt32 dwFlags, IntPtr hdc, cli::array <Microsoft::VisualStudio::OLE::Interop::RECT> ^ pRect);
public int DrawBannerGlyph (Microsoft.VisualStudio.TextManager.Interop.IVsHiddenRegion pHidReg, uint dwFlags, IntPtr hdc, Microsoft.VisualStudio.OLE.Interop.RECT[] pRect);
abstract member DrawBannerGlyph : Microsoft.VisualStudio.TextManager.Interop.IVsHiddenRegion * uint32 * nativeint * Microsoft.VisualStudio.OLE.Interop.RECT[] -> int
Public Function DrawBannerGlyph (pHidReg As IVsHiddenRegion, dwFlags As UInteger, hdc As IntPtr, pRect As RECT()) As Integer

Parameters

pHidReg
IVsHiddenRegion

[in] The client’s region.

dwFlags
UInt32

[in] Currently unused

hdc
IntPtr

nativeint

[in] Handle to the device context.

pRect
RECT[]

[in] The rectangle containing the glyph.

Returns

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

Applies to