pub trait IDirectMusicBuffer_Impl: Sized {
Show 13 methods // Required methods fn Flush(&self) -> Result<()>; fn TotalTime(&self, prttime: *mut i64) -> Result<()>; fn PackStructured( &self, rt: i64, dwchannelgroup: u32, dwchannelmessage: u32, ) -> Result<()>; fn PackUnstructured( &self, rt: i64, dwchannelgroup: u32, cb: u32, lpb: *mut u8, ) -> Result<()>; fn ResetReadPtr(&self) -> Result<()>; fn GetNextEvent( &self, prt: *mut i64, pdwchannelgroup: *mut u32, pdwlength: *mut u32, ppdata: *mut *mut u8, ) -> Result<()>; fn GetRawBufferPtr(&self, ppdata: *mut *mut u8) -> Result<()>; fn GetStartTime(&self, prt: *mut i64) -> Result<()>; fn GetUsedBytes(&self, pcb: *mut u32) -> Result<()>; fn GetMaxBytes(&self, pcb: *mut u32) -> Result<()>; fn GetBufferFormat(&self, pguidformat: *mut GUID) -> Result<()>; fn SetStartTime(&self, rt: i64) -> Result<()>; fn SetUsedBytes(&self, cb: u32) -> Result<()>;
}

Required Methods§

fn Flush(&self) -> Result<()>

fn TotalTime(&self, prttime: *mut i64) -> Result<()>

fn PackStructured( &self, rt: i64, dwchannelgroup: u32, dwchannelmessage: u32, ) -> Result<()>

fn PackUnstructured( &self, rt: i64, dwchannelgroup: u32, cb: u32, lpb: *mut u8, ) -> Result<()>

fn ResetReadPtr(&self) -> Result<()>

fn GetNextEvent( &self, prt: *mut i64, pdwchannelgroup: *mut u32, pdwlength: *mut u32, ppdata: *mut *mut u8, ) -> Result<()>

fn GetRawBufferPtr(&self, ppdata: *mut *mut u8) -> Result<()>

fn GetStartTime(&self, prt: *mut i64) -> Result<()>

fn GetUsedBytes(&self, pcb: *mut u32) -> Result<()>

fn GetMaxBytes(&self, pcb: *mut u32) -> Result<()>

fn GetBufferFormat(&self, pguidformat: *mut GUID) -> Result<()>

fn SetStartTime(&self, rt: i64) -> Result<()>

fn SetUsedBytes(&self, cb: u32) -> Result<()>

Object Safety§

This trait is not object safe.

Implementors§