Trait IDvdInfo2_Impl
pub trait IDvdInfo2_Impl: IUnknownImpl {
Show 39 methods
// Required methods
fn GetCurrentDomain(&self) -> Result<DVD_DOMAIN>;
fn GetCurrentLocation(&self) -> Result<DVD_PLAYBACK_LOCATION2>;
fn GetTotalTitleTime(
&self,
ptotaltime: *mut DVD_HMSF_TIMECODE,
ultimecodeflags: *mut u32,
) -> Result<()>;
fn GetCurrentButton(
&self,
pulbuttonsavailable: *mut u32,
pulcurrentbutton: *mut u32,
) -> Result<()>;
fn GetCurrentAngle(
&self,
pulanglesavailable: *mut u32,
pulcurrentangle: *mut u32,
) -> Result<()>;
fn GetCurrentAudio(
&self,
pulstreamsavailable: *mut u32,
pulcurrentstream: *mut u32,
) -> Result<()>;
fn GetCurrentSubpicture(
&self,
pulstreamsavailable: *mut u32,
pulcurrentstream: *mut u32,
pbisdisabled: *mut BOOL,
) -> Result<()>;
fn GetCurrentUOPS(&self) -> Result<u32>;
fn GetAllSPRMs(&self) -> Result<*mut u16>;
fn GetAllGPRMs(&self) -> Result<*mut u16>;
fn GetAudioLanguage(&self, ulstream: u32) -> Result<u32>;
fn GetSubpictureLanguage(&self, ulstream: u32) -> Result<u32>;
fn GetTitleAttributes(
&self,
ultitle: u32,
pmenu: *mut DVD_MenuAttributes,
ptitle: *mut DVD_TitleAttributes,
) -> Result<()>;
fn GetVMGAttributes(&self, patr: *mut DVD_MenuAttributes) -> Result<()>;
fn GetCurrentVideoAttributes(
&self,
patr: *mut DVD_VideoAttributes,
) -> Result<()>;
fn GetAudioAttributes(
&self,
ulstream: u32,
patr: *mut DVD_AudioAttributes,
) -> Result<()>;
fn GetKaraokeAttributes(
&self,
ulstream: u32,
pattributes: *mut DVD_KaraokeAttributes,
) -> Result<()>;
fn GetSubpictureAttributes(
&self,
ulstream: u32,
) -> Result<DVD_SubpictureAttributes>;
fn GetDVDVolumeInfo(
&self,
pulnumofvolumes: *mut u32,
pulvolume: *mut u32,
pside: *mut DVD_DISC_SIDE,
pulnumoftitles: *mut u32,
) -> Result<()>;
fn GetDVDTextNumberOfLanguages(&self) -> Result<u32>;
fn GetDVDTextLanguageInfo(
&self,
ullangindex: u32,
pulnumofstrings: *mut u32,
plangcode: *mut u32,
pbcharacterset: *mut DVD_TextCharSet,
) -> Result<()>;
fn GetDVDTextStringAsNative(
&self,
ullangindex: u32,
ulstringindex: u32,
pbbuffer: *mut u8,
ulmaxbuffersize: u32,
pulactualsize: *mut u32,
ptype: *mut DVD_TextStringType,
) -> Result<()>;
fn GetDVDTextStringAsUnicode(
&self,
ullangindex: u32,
ulstringindex: u32,
pchwbuffer: PWSTR,
ulmaxbuffersize: u32,
pulactualsize: *mut u32,
ptype: *mut DVD_TextStringType,
) -> Result<()>;
fn GetPlayerParentalLevel(
&self,
pulparentallevel: *mut u32,
pbcountrycode: *mut u8,
) -> Result<()>;
fn GetNumberOfChapters(&self, ultitle: u32) -> Result<u32>;
fn GetTitleParentalLevels(&self, ultitle: u32) -> Result<u32>;
fn GetDVDDirectory(
&self,
pszwpath: PWSTR,
ulmaxsize: u32,
pulactualsize: *mut u32,
) -> Result<()>;
fn IsAudioStreamEnabled(&self, ulstreamnum: u32) -> Result<BOOL>;
fn GetDiscID(&self, pszwpath: &PCWSTR) -> Result<u64>;
fn GetState(&self) -> Result<IDvdState>;
fn GetMenuLanguages(
&self,
planguages: *mut u32,
ulmaxlanguages: u32,
pulactuallanguages: *mut u32,
) -> Result<()>;
fn GetButtonAtPosition(&self, point: &POINT) -> Result<u32>;
fn GetCmdFromEvent(&self, lparam1: isize) -> Result<IDvdCmd>;
fn GetDefaultMenuLanguage(&self) -> Result<u32>;
fn GetDefaultAudioLanguage(
&self,
planguage: *mut u32,
paudioextension: *mut DVD_AUDIO_LANG_EXT,
) -> Result<()>;
fn GetDefaultSubpictureLanguage(
&self,
planguage: *mut u32,
psubpictureextension: *mut DVD_SUBPICTURE_LANG_EXT,
) -> Result<()>;
fn GetDecoderCaps(&self, pcaps: *mut DVD_DECODER_CAPS) -> Result<()>;
fn GetButtonRect(&self, ulbutton: u32) -> Result<RECT>;
fn IsSubpictureStreamEnabled(&self, ulstreamnum: u32) -> Result<BOOL>;
}
Required Methods§
fn GetCurrentDomain(&self) -> Result<DVD_DOMAIN>
fn GetCurrentLocation(&self) -> Result<DVD_PLAYBACK_LOCATION2>
fn GetTotalTitleTime( &self, ptotaltime: *mut DVD_HMSF_TIMECODE, ultimecodeflags: *mut u32, ) -> Result<()>
fn GetCurrentButton( &self, pulbuttonsavailable: *mut u32, pulcurrentbutton: *mut u32, ) -> Result<()>
fn GetCurrentAngle( &self, pulanglesavailable: *mut u32, pulcurrentangle: *mut u32, ) -> Result<()>
fn GetCurrentAudio( &self, pulstreamsavailable: *mut u32, pulcurrentstream: *mut u32, ) -> Result<()>
fn GetCurrentSubpicture( &self, pulstreamsavailable: *mut u32, pulcurrentstream: *mut u32, pbisdisabled: *mut BOOL, ) -> Result<()>
fn GetCurrentUOPS(&self) -> Result<u32>
fn GetAllSPRMs(&self) -> Result<*mut u16>
fn GetAllGPRMs(&self) -> Result<*mut u16>
fn GetAudioLanguage(&self, ulstream: u32) -> Result<u32>
fn GetSubpictureLanguage(&self, ulstream: u32) -> Result<u32>
fn GetTitleAttributes( &self, ultitle: u32, pmenu: *mut DVD_MenuAttributes, ptitle: *mut DVD_TitleAttributes, ) -> Result<()>
fn GetVMGAttributes(&self, patr: *mut DVD_MenuAttributes) -> Result<()>
fn GetCurrentVideoAttributes( &self, patr: *mut DVD_VideoAttributes, ) -> Result<()>
fn GetAudioAttributes( &self, ulstream: u32, patr: *mut DVD_AudioAttributes, ) -> Result<()>
fn GetKaraokeAttributes( &self, ulstream: u32, pattributes: *mut DVD_KaraokeAttributes, ) -> Result<()>
fn GetSubpictureAttributes( &self, ulstream: u32, ) -> Result<DVD_SubpictureAttributes>
fn GetDVDVolumeInfo( &self, pulnumofvolumes: *mut u32, pulvolume: *mut u32, pside: *mut DVD_DISC_SIDE, pulnumoftitles: *mut u32, ) -> Result<()>
fn GetDVDTextNumberOfLanguages(&self) -> Result<u32>
fn GetDVDTextLanguageInfo( &self, ullangindex: u32, pulnumofstrings: *mut u32, plangcode: *mut u32, pbcharacterset: *mut DVD_TextCharSet, ) -> Result<()>
fn GetDVDTextStringAsNative( &self, ullangindex: u32, ulstringindex: u32, pbbuffer: *mut u8, ulmaxbuffersize: u32, pulactualsize: *mut u32, ptype: *mut DVD_TextStringType, ) -> Result<()>
fn GetDVDTextStringAsUnicode( &self, ullangindex: u32, ulstringindex: u32, pchwbuffer: PWSTR, ulmaxbuffersize: u32, pulactualsize: *mut u32, ptype: *mut DVD_TextStringType, ) -> Result<()>
fn GetPlayerParentalLevel( &self, pulparentallevel: *mut u32, pbcountrycode: *mut u8, ) -> Result<()>
fn GetNumberOfChapters(&self, ultitle: u32) -> Result<u32>
fn GetTitleParentalLevels(&self, ultitle: u32) -> Result<u32>
fn GetDVDDirectory( &self, pszwpath: PWSTR, ulmaxsize: u32, pulactualsize: *mut u32, ) -> Result<()>
fn IsAudioStreamEnabled(&self, ulstreamnum: u32) -> Result<BOOL>
fn GetDiscID(&self, pszwpath: &PCWSTR) -> Result<u64>
fn GetState(&self) -> Result<IDvdState>
fn GetMenuLanguages( &self, planguages: *mut u32, ulmaxlanguages: u32, pulactuallanguages: *mut u32, ) -> Result<()>
fn GetButtonAtPosition(&self, point: &POINT) -> Result<u32>
fn GetCmdFromEvent(&self, lparam1: isize) -> Result<IDvdCmd>
fn GetDefaultMenuLanguage(&self) -> Result<u32>
fn GetDefaultAudioLanguage( &self, planguage: *mut u32, paudioextension: *mut DVD_AUDIO_LANG_EXT, ) -> Result<()>
fn GetDefaultSubpictureLanguage( &self, planguage: *mut u32, psubpictureextension: *mut DVD_SUBPICTURE_LANG_EXT, ) -> Result<()>
fn GetDecoderCaps(&self, pcaps: *mut DVD_DECODER_CAPS) -> Result<()>
fn GetButtonRect(&self, ulbutton: u32) -> Result<RECT>
fn IsSubpictureStreamEnabled(&self, ulstreamnum: u32) -> Result<BOOL>
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.