|Microsoft DirectX 9.0|
The GetSegment method retrieves a pointer to the segment that generated this segment state.
HRESULT GetSegment( IDirectMusicSegment** ppSegment );
Address of a variable that receives a pointer to the IDirectMusicSegment interface. Use QueryInterface to obtain IDirectMusicSegment8 interface.
If the method succeeds, the return value is S_OK.
If it fails, the method can return one of the error values shown in the following table.
The pointer returned in ppSegment must be released by the application.
Header: Declared in dmusici.h.