共用方式為


QueryBreaks method

Determines whether a line break or a block break, if any, occurs at the display pointer's location.

Syntax

HRESULT retVal = object.QueryBreaks(pdwBreaks);

Parameters

  • pdwBreaks [out]
    Type: DWORD

    A pointer to a variable of type DWORD that receives the DISPLAY_BREAK enumeration value for the kind of break, if any.

Return value

Type: HRESULT

If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.