IDXARGBReadWritePtr::PackPremultAndMove Method

This topic documents a feature of Visual Filters and Transitions, which is deprecated as of Windows Internet Explorer 9 and obsolete as of Internet Explorer 10.

Places a buffer of ARGB32 samples into the output surfaces and moves the sample pointer.


void PackPremultAndMove(
    const DXPMSAMPLE *pSamples,
    ULONG cSamples


[in] Pointer to the sample values to pack into the destination surface. If the surface pixel format is PMARGB32, the pointer can be NULL, in which case no data copy is performed, but the current pointer location is still updated.
[in] Number of samples to convert.

Return Value

No return value.


This method advances the horizontal position of the pointer to the samples by cSamples amount. If the pixel format of the underlying surface is not PMARGB32, this method converts the samples into the underlying native pixel format.

See Also

Community Additions

© 2015 Microsoft