Skip to content

Ensure GetFileSystemProperties is called only on ONLINE volumes. - #107

Merged
zleyyij merged 2 commits into
Spec-ify:mainfrom
Adam1213:vds-online-fix
Aug 10, 2026
Merged

Ensure GetFileSystemProperties is called only on ONLINE volumes.#107
zleyyij merged 2 commits into
Spec-ify:mainfrom
Adam1213:vds-online-fix

Conversation

@Adam1213

Copy link
Copy Markdown
Contributor

Add a check to make sure getting file system information function is ran only on online volumes. The function will fail if ran on offline volumes or empty media on removable devices like flash card adapters.

Comment thread client/data/Methods/VDS/VdsClass.cs Outdated
{
//COM HResults
public const uint HR_PROPERTIES_INCOMPLETE = 0x00042715u;
public const uint VDS_E_NO_MEDIA = 0x80042412u;

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This constant is introduced, but I don't see anywhere where it's used.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Removed in new commit

@zleyyij
zleyyij merged commit 26182c0 into Spec-ify:main Aug 10, 2026
1 of 2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants