API Reference | developer.brewmp.com API Reference | developer.brewmp.com

Developer

API Reference

ICONTENTTHUMBNAIL0_SETDIMENSION()

Brew Release
Brew MP 1.0.2
See Also
None
Description
Sets the dimension for thumbnail width and height. And their units are in pixels
Params
pif
[in]:
Pointer to an IContentThumbnail0 interface
nWidth
[in]:
Thumbnail width
nHeight
[in]:
Thumbnail height
Return
SUCCESS
[]:
The dimension is set correctly.
EBADPARM
[]:
If any of the pointers is bad or if the width and height are negative or 0.
Interface
Prototype
  •    int IContentThumbnail0_SetDimension(IContentThumbnail0 * pif, int32 nWidth, 
                                           int32 nHeight)
     
Side Effect
  • None
Comments
Attempts to call SetDimension as a thumbnail is being actively generated will affect the subsequent requests only. Previous requests will not be affect by the changes.