pub struct LinkInfo {
pub link_info_flags: Option<LinkInfoFlags>,
pub volume_id: Option<()>,
pub local_base_path: Option<String>,
pub common_network_relative_link: Option<()>,
pub common_path_suffix: Option<String>,
pub local_base_path_unicode: Option<String>,
pub common_path_suffix_unicode: Option<String>,
/* private fields */
}
Expand description
The LinkInfo structure specifies information necessary to resolve a link target if it is not found in its original location. This includes information about the volume that the target was stored on, the mapped drive letter, and a Universal Naming Convention (UNC) form of the path if one existed when the link was created. For more details about UNC paths, see [MS-DFSNM] section 2.2.1.4.
Fields
link_info_flags: Option<LinkInfoFlags>
Flags that specify whether the VolumeID, LocalBasePath, LocalBasePathUnicode, and CommonNetworkRelativeLink fields are present in this structure.
volume_id: Option<()>
An optional VolumeID structure (section 2.3.1) that specifies information about the volume that the link target was on when the link was created. This field is present if the VolumeIDAndLocalBasePath flag is set.
local_base_path: Option<String>
An optional, NULL–terminated string, defined by the system default code page, which is used to construct the full path to the link item or link target by appending the string in the CommonPathSuffix field. This field is present if the VolumeIDAndLocalBasePath flag is set.
common_network_relative_link: Option<()>
An optional CommonNetworkRelativeLink structure (section 2.3.2) that specifies information about the network location where the link target is stored.
common_path_suffix: Option<String>
A NULL–terminated string, defined by the system default code page, which is used to construct the full path to the link item or link target by being appended to the string in the LocalBasePath field.
local_base_path_unicode: Option<String>
An optional, NULL–terminated, Unicode string that is used to construct the full path to the link item or link target by appending the string in the CommonPathSuffixUnicode field. This field can be present only if the VolumeIDAndLocalBasePath flag is set and the value of the LinkInfoHeaderSize field is greater than or equal to 0x00000024.
common_path_suffix_unicode: Option<String>
An optional, NULL–terminated, Unicode string that is used to construct the full path to the link item or link target by being appended to the string in the LocalBasePathUnicode field. This field can be present only if the value of the LinkInfoHeaderSize field is greater than or equal to 0x00000024.
Implementations
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for LinkInfo
impl UnwindSafe for LinkInfo
Blanket Implementations
Mutably borrows from an owned value. Read more