CDXTWorkInfoNTo1 Class

The CDXTWorkInfoNTo1 class contains the information necessary to describe a rendering request to the CDXBaseNTo1::WorkProc method.

Syntax

class CDXTWorkInfoNTo1
{
public:
    CDXTWorkInfoNTo1()
    {
		pvThis = NULL;
		pUserInstData = NULL;
		hr = S_OK;
	}
    void     *pvThis;          
    CDXDBnds DoBnds;     
    CDXDBnds OutputBnds;    
    void     *pUserInstData;  
    HRESULT  hr;            
};

Data Members

pvThis
Pointer to the owning transform class object. It must be cast to the correct type.
DoBnds
Portion of the space to render for the transform output.
OutputBnds
Region of the output DXSurface to lock.
pUserInstData
User field for instance data that might have been associated during a previous call to CDXBaseNTo1::OnInitInstData.
hr
Error code to return from the WorkProc method.

Remarks

This class is used by the CDXBaseNTo1 base class, as well as classes that override the WorkProc method to construct their transform output. It is primarily used to store data, and has no methods other than the constructor, which initializes the object to zero. All the data members are public.

For an example of how this class is used by the WorkProc method, see Example: The Wipe Transform.


Top of Page Top of Page
© 2000 Microsoft and/or its suppliers. All rights reserved. Terms of Use.