Home COM GDI+ WebBrowser Data Access

IMLangLineBreakConsole  Interface

 

IID_IMLangLineBreakConsole

{F5BE2EE1-BFD7-11D0-B188-00AA0038C969}

 

 

This interface provides a console-based line-breaking service.

 

This interface provides multilingual line-breaking functionality that varies based on locale. IMLangLineBreakConsole is currently designed only for use in console-based functions, such as a mail client application that needs to format text in a specific column size.

 

 

Methods in VTable order

IUnknown Methods

Description

QueryInterface

Returns pointers to supported interfaces.

AddRef

Increments reference count.

Release

Decrements reference count.

IMLangLineBreakConsole Methods

Description

BreakLineML

Not currently implemented.

BreakLineW

Determines where to break the given string based on the specified maximum number of columns.

BreakLineA

Determines where to break the given string based on the specified maximum number of columns.

 

BreakLineML

 

FUNCTION IMLangString_BreakLineML ( _
  BYVAL pthis AS DWORD PTR _
, BYVAL pSrcMLStr AS DWORD _
, BYVAL lSrcPos AS LONG _
, BYVAL lSrcLen AS LONG _
, BYVAL cMinColumns AS LONG _
, BYVAL cMaxColumns AS LONG _
, BYREF plLineLen AS LONG _
, BYREF plSkipLen AS LONG _
  ) AS LONG

  LOCAL HRESULT AS LONG
  CALL DWORD @@pthis[3] USING IMLangString_BreakLineML (pthis, pSrcMLStr, lSrcPos, lSrcLen, cMinColumns, cMaxColumns, plLineLen, plSkipLen) TO HRESULT
  FUNCTION = HRESULT

END FUNCTION

 

 

BreakLineW

 

FUNCTION IMLangString_BreakLineW ( _
  BYVAL pthis AS DWORD PTR _
, BYVAL locale AS LONG _
, BYVAL pszSrc AS DWORD _
, BYVAL cchSrc AS LONG _
, BYVAL cMaxColumns AS LONG _
, BYREF pcchLine AS LONG _
, BYREF pcchSkip AS LONG _
  ) AS LONG

  LOCAL HRESULT AS LONG
  CALL DWORD @@pthis[4] USING IMLangString_BreakLineW (pthis, locale, pszSrc, cchSrc, cMaxColumns, pcchLine, pcchSkip) TO HRESULT
  FUNCTION = HRESULT

END FUNCTION

 

 

BreakLineA

 

FUNCTION IMLangString_BreakLineA ( _
  BYVAL pthis AS DWORD PTR _
, BYVAL locale AS LONG _
, BYVAL uCodePage AS DWORD _
, BYVAL pszSrc AS DWORD _
, BYVAL cchSrc AS LONG _
, BYVAL cMaxColumns AS LONG _
, BYREF pcchLine AS LONG _
, BYREF pcchSkip AS LONG _
  ) AS LONG

  LOCAL HRESULT AS LONG
  CALL DWORD @@pthis[5] USING IMLangString_BreakLineA (pthis, locale, uCodePage, pszSrc, cchSrc, cMaxColumns, pcchLine, pcchSkip) TO HRESULT
  FUNCTION = HRESULT

END FUNCTION

 

 

Page last updated on Monday, 03 April 2006 20:02:04 +0200