Skip to content

Commit

Permalink
feat: add DRIVE_* constants
Browse files Browse the repository at this point in the history
  • Loading branch information
halildurmus committed Oct 19, 2024
1 parent 85a6111 commit 2222ea2
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/win32/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ All notable changes to this project will be documented in this file.

- Add `UnregisterDeviceNotification` API (#916)
- Add `DEV_BROADCAST_VOLUME` struct
- Add `DRIVE_UNKNOWN`, `DRIVE_NO_ROOT_DIR`, `DRIVE_REMOVABLE`, `DRIVE_FIXED`,
`DRIVE_REMOTE`, `DRIVE_CDROM`, and `DRIVE_RAMDISK` constants

## [5.6.1] - 2024-10-18

Expand Down
8 changes: 8 additions & 0 deletions packages/win32/lib/src/constants_nodoc.dart
Original file line number Diff line number Diff line change
Expand Up @@ -5114,3 +5114,11 @@ const SERVICE_QUERY_STATUS = 4;
const SERVICE_START = 16;

const SERVICE_CONTROL_STOP = 1;

const DRIVE_UNKNOWN = 0;
const DRIVE_NO_ROOT_DIR = 1;
const DRIVE_REMOVABLE = 2;
const DRIVE_FIXED = 3;
const DRIVE_REMOTE = 4;
const DRIVE_CDROM = 5;
const DRIVE_RAMDISK = 6;

0 comments on commit 2222ea2

Please sign in to comment.