Microsoft DirectX 9.0 SDK Update (October 2004)

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


© 2004 Microsoft Corporation. All rights reserved.