Compartilhar via


ICM_GETINKDATA

4/8/2010

This message is sent to a window to get the ink data of the InkCanvas control.

Syntax

ICM_GETINKDATA
    wparam = (WPARAM) (IC_INKENCODING) encoding;
    lParam = (LPARAM) (VARIANT*) pvData;

Parameters

  • pvData
    Pointer to a variant that will store the ink data. The variant type is either:

    • VT_UI1|VT_ARRAY for binary formats: isf and gif
    • VT_BSTR for base64 formats: base64isf and base64gif.

    The caller is responsible for calling VariantClear to free the memory allocated.

  • encoding
    The encoding in which the data is required. This should be specified as a value of the following enumeration.

    enum IC_INKENCODING

    {

    IC_INKENCODING_BINARY,

    IC_INKENCODING_BASE64,

    IC_INKENCODING_GIF,

    IC_INKENCODING_BASE64GIF

    };

Return Value

Returns 0 if there are errors.

Requirements

Header inkctrls.h
Windows Embedded CE Windows CE 5.0 and later
Windows Mobile Windows Mobile 6 Classic and later, Windows Mobile 6 Professional and later

See Also

Concepts

Windows Mobile Ink Reference