IDCompositionDevice::CreateTranslateTransform3D method (dcomp.h)
Creates a 3D translation transform object.
Syntax
HRESULT CreateTranslateTransform3D(
[out] IDCompositionTranslateTransform3D **translateTransform3D
);
Parameters
[out] translateTransform3D
Type: IDCompositionTranslateTransform3D**
The new 3D translation transform object. This parameter must not be NULL.
Return value
Type: HRESULT
If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.
Remarks
A newly created 3D translation transform has a static value of 0 for the OffsetX, OffsetY, and OffsetZ properties.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows 8 [desktop apps only] |
Minimum supported server | Windows Server 2012 [desktop apps only] |
Target Platform | Windows |
Header | dcomp.h |
Library | Dcomp.lib |
DLL | Dcomp.dll |