CreateARGBPointer

CreateARGBPointer method

Allocates an ARGB read pointer object.

Syntax


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

Parameters

pSurface [in]

Type: CDXBaseSurface

Pointer to the CDXBaseSurface object.

ppPtr [out]

Type: CDXBaseARGBPtr

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

 

 

Show:
© 2016 Microsoft