Microsoft DirectX 9.0 SDK Update (October 2004) |
The GetMediaTypeArraySize method retrieves the size of the array that must be passed in to the IDirectMusicTool8::GetMediaTypes method. A return value of 0 indicates that the tool handles all types, and it is unnecessary to call GetMediaTypes.
Syntax
HRESULT GetMediaTypeArraySize(
DWORD* pdwNumElements
);
Parameters
pdwNumElements
Address of a variable that receives the number of media types. If 0 is returned in this field, all types are supported.
Return Values
Return values are determined by the implementation. If the method succeeds, it returns S_OK. If it fails, the method can return E_POINTER.
Requirements
Header: Declared in dmplugin.h.
See Also