IVsHiddenTextClientEx.DrawBannerGlyph Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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