Partager via


IHomePlugin::GetHeight

4/8/2010

The GetHeight method gets the height of the plug-in.

Syntax

HRESULT GetHeight (
  int * pdyPlugin
);

Parameters

  • pdyPlugin
    [out] Size, in pixels, of the plug-in height.

Return Value

This method returns the standard values E_INVALIDARG, E_OUTOFMEMORY, E_UNEXPECTED, and E_FAIL, as well as the following:

  • S_OK
    Indicates success.

Remarks

For the device to redraw the plug-in, the plug-in must call the IHomePluginEnvironment::InvalidatePlugin method after changing the plug-in height.

Requirements

Header home.h
Windows Embedded CE Windows CE 3.0 and later
Windows Mobile Smartphone 2002 and later

See Also

Reference

IHomePlugin