Trait winsafe::prelude::kernel_Hfindfile
source · pub trait kernel_Hfindfile: Handle {
// Provided methods
fn FindFirstFile(
file_name: &str,
wfd: &mut WIN32_FIND_DATA
) -> SysResult<(FindCloseGuard, bool)> { ... }
fn FindNextFile(&self, wfd: &mut WIN32_FIND_DATA) -> SysResult<bool> { ... }
}
Available on crate feature
kernel
only.Expand description
This trait is enabled with the kernel
feature, and provides methods for
HFINDFILE
.
Prefer importing this trait through the prelude:
use winsafe::prelude::*;
Provided Methods§
sourcefn FindFirstFile(
file_name: &str,
wfd: &mut WIN32_FIND_DATA
) -> SysResult<(FindCloseGuard, bool)>
fn FindFirstFile( file_name: &str, wfd: &mut WIN32_FIND_DATA ) -> SysResult<(FindCloseGuard, bool)>
FindFirstFile
function.
This method is rather tricky, consider using
path::dir_list
.
sourcefn FindNextFile(&self, wfd: &mut WIN32_FIND_DATA) -> SysResult<bool>
fn FindNextFile(&self, wfd: &mut WIN32_FIND_DATA) -> SysResult<bool>
FindNextFile
function.
This method is rather tricky, consider using
path::dir_list
.
Object Safety§
This trait is not object safe.