CreateARGBPointer method

Allocates an ARGB read pointer object.

Syntax

HRESULT retVal = object.CreateARGBPointer(pSurface, ppPtr);

Parameters

  • pSurface [in]
    Type: [CDXBaseSurface](aa743846(v=vs.85).md)

    Pointer to the CDXBaseSurface object.

  • ppPtr [out]
    Type: [CDXBaseARGBPtr](aa753530(v=vs.85).md)

    Address of a pointer to the newly created CDXBaseARGBPtr class object.

Remarks

Derived classes must override this virtual function.

A procedural surface object is required to define an ARGB sample access object that supports the IDXARGBReadPtr interface. The CDXBaseARGBPtr class can be used to simplify this.

See also

Reference

CDXBaseARGBPtr

CDXBaseSurface::DeleteARGBPointer