Microsoft DirectX 8.0 (C++)

IDirectMusicTool8::Clone

Creates a new instance of the tool.

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.