ISharedBitmap::GetSize method

Retrieves the size of the bitmap contained in an ISharedBitmap object.

Syntax


HRESULT GetSize(
  [out] SIZE *pSize
);

Parameters

pSize [out]

Type: SIZE*

When this method returns, contains a pointer to a value that specifies the size, in pixels, of the contained bitmap.

Return value

Type: HRESULT

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

Requirements

Minimum supported client

Windows Vista [desktop apps only]

Minimum supported server

Windows Server 2008 [desktop apps only]

Header

Thumbcache.h

IDL

Thumbcache.idl

 

 

Show: