Microsoft DirectX 9.0

IDxtJpeg::put_MaskName

The put_MaskName method specifies the name of a JPEG file to use as the wipe mask. This mask will be used instead of one of the built-in wipe masks. The file must contain a monochrome, 8-bits-per-pixel gradient. The gradient is used as a mask to define the wipe's progression.

Syntax

HRESULT put_MaskName(
    BSTR newVal
);

Parameters

newVal

[in] Specifies the name of the file.

Return Values

Returns S_OK or an error code.

Remarks

To revert to a built-in mask, set the MaskNum property.

Requirements

Header: Include Qedit.h. This header file is not compatible with Microsoft® Direct3D® headers later than version 7.

Library: Use strmiids.lib.

See Also