|Microsoft DirectX 9.0|
The GetLength method retrieves the length of the segment.
HRESULT GetLength( MUSIC_TIME* pmtLength );
Address of a variable that receives the segment's length in music time.
If the method succeeds, the return value is S_OK.
If it fails, the method can return E_POINTER.
The method always returns 1 in *pmtLength for segments created from WAV files.
Header: Declared in dmusici.h.