Struct hassle_rs::ffi::IDxcLibrary
source · #[repr(C)]pub struct IDxcLibrary { /* private fields */ }
Implementations§
source§impl IDxcLibrary
impl IDxcLibrary
pub unsafe fn set_malloc(&self, malloc: *const c_void) -> HRESULT
pub unsafe fn create_blob_from_blob(
&self,
blob: *const IDxcBlob,
offset: u32,
length: u32,
result_blob: *mut *mut IDxcBlob
) -> HRESULT
pub unsafe fn create_blob_from_file(
&self,
filename: LPCWSTR,
code_page: *const u32,
blob_encoding: *mut *mut IDxcBlobEncoding
) -> HRESULT
pub unsafe fn create_blob_with_encoding_from_pinned(
&self,
text: *const c_void,
size: u32,
code_page: u32,
blob_encoding: *mut *mut IDxcBlobEncoding
) -> HRESULT
pub unsafe fn create_blob_with_encoding_on_heap_copy(
&self,
text: *const c_void,
size: u32,
code_page: u32,
blob_encoding: *mut *mut IDxcBlobEncoding
) -> HRESULT
pub unsafe fn create_blob_with_encoding_on_malloc(
&self,
text: *const c_void,
malloc: *const c_void,
size: u32,
code_page: u32,
blob_encoding: *mut *mut IDxcBlobEncoding
) -> HRESULT
pub unsafe fn create_include_handler(
&self,
include_handler: *mut *mut IDxcIncludeHandler
) -> HRESULT
pub unsafe fn create_stream_from_blob_read_only(
&self,
blob: *const IDxcBlob,
stream: *mut *mut c_void
) -> HRESULT
pub unsafe fn get_blob_as_utf8(
&self,
blob: *const IDxcBlob,
blob_encoding: *mut *mut IDxcBlobEncoding
) -> HRESULT
pub unsafe fn get_blob_as_utf16(
&self,
blob: *const IDxcBlob,
blob_encoding: *mut *mut IDxcBlobEncoding
) -> HRESULT
Methods from Deref<Target = IUnknown>§
sourcepub unsafe fn query_interface(&self, iid: &IID, object: *mut *mut c_void) -> i32
pub unsafe fn query_interface(&self, iid: &IID, object: *mut *mut c_void) -> i32
Retrieves pointers to the supported interfaces on an object.
Use ComPtr::from
instead.