DirectX SDK |
The IDirectMusicTool::GetMediaTypes method retrieves a list of the types of messages that this tool supports.
HRESULT GetMediaTypes( DWORD** padwMediaTypes, DWORD dwNumElements );
Return values are determined by the implementation. If the method succeeds, it returns S_OK, or S_FALSE if the method could not fill in all values because dwNumElements was too small. If it fails, the method can return one of the following error values:
E_POINTER |
E_INVALIDARG |
E_NOTIMPL |
If the method returns E_NOTIMPL, the tool processes all media types.
Windows NT/2000: Requires Windows 2000.
Windows 95/98: Requires Windows 95 or later. Available as a redistributable for Windows 95.
Header: Declared in dmusici.h.