Leaked source code of windows server 2003
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

12 lines
909 B

  1. STDAPI_(void) CalculateAspectRatio(const SIZE *prgSize, RECT *pRect);
  2. STDAPI_(BOOL) FactorAspectRatio(BITMAPINFO *pbiScaled, void *pScaledBits,
  3. const SIZE *prgSize, RECT rect,
  4. DWORD dwClrDepth, HPALETTE hPal, BOOL fOrigSize,
  5. COLORREF clrBk, HBITMAP *phBmpThumbnail);
  6. STDAPI_(BOOL) ConvertDIBSECTIONToThumbnail(BITMAPINFO *pbi, void *pBits,
  7. HBITMAP *phBmpThumbnail, const SIZE *prgSize,
  8. DWORD dwClrDepth, HPALETTE hpal, UINT uiSharpPct, BOOL fOrigImage);
  9. STDAPI_(BOOL) CreateSizedDIBSECTION(const SIZE *prgSize, DWORD dwClrDepth, HPALETTE hpal,
  10. const BITMAPINFO *pCurInfo, HBITMAP *phbmp, BITMAPINFO **pBMI, void **ppBits);
  11. STDAPI_(void *) CalcBitsOffsetInDIB(BITMAPINFO *pBMI);