Microsoft DirectX 9.0

IDirectMusicTool8::Clone

The Clone method creates a new instance of the tool.

Syntax

HRESULT Clone(
  IDirectMusicTool** ppTool 
);

Parameters

ppTool

Address of a variable that receives a pointer to the IDirectMusicTool interface of the new instance of the tool. Use QueryInterface to obtain IDirectMusicTool8.

Return Values

Return values are determined by the implementation. If it succeeds, the method should return S_OK. If it fails, the return value might be E_POINTER or E_OUTOFMEMORY.

Requirements

  Header: Declared in dmplugin.h.

See Also