次の方法で共有


GetBitmapFormatSize (Compact 2013)

3/26/2014

This function finds the size, in bytes, needed to build a VIDEOINFOHEADER structure and related data.

Syntax

LONG GetBitmapFormatSize(
  const BITMAPINFOHEADER* pHeader
);

Parameters

  • pHeader
    Pointer to a Win32 BITMAPINFOHEADER structure.

Return Value

Returns the number of bytes for the VIDEOINFOHEADER structure described by this BITMAPINFOHEADER, including prefix information, the BITMAPINFOHEADER field, and any other color information on the end.

Requirements

Header

dshow.h

Library

Strmiids.lib

See Also

Reference

Bitmap Functions