XFORMOBJ_iGetXform

ULONG XFORMOBJ_iGetXform(

    IN XFORMOBJ *pxo,

    OUT XFORM *pxform

   );

XFORMOBJ_iGetXform downloads a transform to the driver.

Parameters

pxo
Points to the XFORMOBJ structure that defines the transform to be downloaded to the driver.
pxform
Points to the buffer that is to receive the XFORM structure. This parameter can be null.

Return Value

If an error occurs, the return value is DDI_ERROR. Otherwise, the return value is a complexity hint about the transform object. The value of this transform characterization can be one of the following:

Value

Meaning

GX_IDENTITY

Identity matrix; no translation offset.

GX_OFFSET

Identity matrix; there is a translation offset.

GX_SCALE

Off-diagonal matrix elements are zero.

GX_GENERAL

Arbitrary 2 x 2 matrix and offset.

See Also

XFORMOBJ, XFORMOBJ_bApplyXform