Partager via


GetMiscFlags method

Retrieves flags that describe the behavior of the transform.

Syntax

HRESULT retVal = object.GetMiscFlags(pdwMiscFlags);

Parameters

  • pdwMiscFlags [out]
    Type: DWORD

    Pointer to flags which can be any combination of values in the DXTMISCFLAGS enumeration.

Remarks

The constructor of the transform sets the transform flags to indicate the transform's behavior. You need to use IDXTransform::GetMiscFlags to find out what the transform's flags are before using IDXTransform::SetMiscFlags to change the flags. Note that you can only change the DXTMF_BLEND_WITH_OUTPUT and DXTMF_DITHER_OUTPUT flags. The remaining flags are inherent properties of the transform and cannot be changed by IDXTransform::SetMiscFlags.

If the DXTMF_BOUNDS_SUPPORTED flag is set, you can specify a DXBNDS structure in the IDXTransform::Execute method. If the DXTMF_PLACEMENT_SUPPORTED flag is set, you can specify a DXVEC structure in IDXTransform::Execute. If either flag is not set, you must specify a corresponding NULLfor the transform in place of the parameter. Failing to do this causes an error in the call to the IDXTransform::Execute method.