IDirect3DRMTexture::GetDecalOrigin

HRESULT GetDecalOrigin(LONG * lplX, LONG * lplY);

Retrieves the current origin of the decal.

·Returns D3DRM_OK if successful, or an error otherwise. For a list of possible return codes, see Direct3D Retained-Mode Return Values.

lplX and lplY

Addresses of variables that will be filled with the origin of the decal when the method returns.