PREVENT_MEDIA_REMOVAL structure (winioctl.h)
Provides removable media locking data. It is used by the IOCTL_STORAGE_MEDIA_REMOVAL control code.
Syntax
typedef struct _PREVENT_MEDIA_REMOVAL {
BOOLEAN PreventMediaRemoval;
} PREVENT_MEDIA_REMOVAL, *PPREVENT_MEDIA_REMOVAL;
Members
PreventMediaRemoval
If this member is TRUE, the media is to be locked. Otherwise, it is not.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows XP |
Minimum supported server | Windows Server 2003 |
Header | winioctl.h (include Windows.h) |
See also
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for