Export (0) Print
Expand All

IDXARGBReadWritePtr::CopyAndMoveBoth 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.

Copies the specified number of samples from the current position of the source surface to the current position of the output surface.

Syntax


void CopyAndMoveBoth(
    DXBASESAMPLE *pScratchBuffer,
    IDXARGBReadPtr *pSrc,
    ULONG cSamples,
    BOOL bIsOpaque
);

Parameters

pScratchBuffer
[in] Pointer to a buffer that can be used by the method. The initial contents of the buffer are ignored, and the contents are undefined when the call returns the buffer. The buffer must be at least [cSamples * sizeof(DXBASESAMPLE)] bytes in size. If the surface pixel format is either ARGB32 or PMARGB32, this buffer is not required and pScratchBuffer can be NULL.
pSrc
[in] Source surface read pointer to copy from.
cSamples
[in] Number of samples to copy.
bIsOpaque
[in] Value that specifies whether the samples are opaque or transparent. If TRUE, the caller guarantees that all the samples being copied have an alpha channel value of 255. In some cases this enables faster code performance. If you are not sure that all samples are opaque, specify FALSE.

Return Value

No return value.

Remarks

After a call to this method, the positions of both the source and destination surfaces are advanced by cSamples.

See Also

Community Additions

ADD
Show:
© 2015 Microsoft