Struct win_nfd::shobjidl::ItemIdList
source · #[repr(transparent)]pub struct ItemIdList(_);
Implementations§
source§impl ItemIdList
impl ItemIdList
sourcepub fn create_from_path(data: &CWideStr) -> Result<Self, HResult>
pub fn create_from_path(data: &CWideStr) -> Result<Self, HResult>
Create an ItemIdList
from a path.
Notes
Alright this function’s documentation is horrible, so please PLEASE send a PR if anything looks bad. This function appears(?) to return NULL if the path is rejected. I’m fairly certain I can get the last error for more info as well. I also know for a fact that this function rejects relative paths with a last error of 1008, but I’m not sure why.