Click to Rate and Give Feedback
MSDN
MSDN Library
System Services
Device Services
Device Management
 PREVENT_MEDIA_REMOVAL Structure
PREVENT_MEDIA_REMOVAL Structure

Provides removable media locking data. It is used by the IOCTL_STORAGE_MEDIA_REMOVAL control code.

Syntax

C++
typedef struct _PREVENT_MEDIA_REMOVAL {
  BOOLEAN PreventMediaRemoval;
}PREVENT_MEDIA_REMOVAL;

Members

PreventMediaRemoval

If this member is TRUE, the media is to be locked. Otherwise, it is not.

Requirements

Minimum supported clientWindows 2000 Professional
Minimum supported serverWindows 2000 Server
HeaderWinioctl.h

See Also

IOCTL_STORAGE_MEDIA_REMOVAL

Send comments about this topic to Microsoft

Build date: 7/30/2009

Tags What's this?: Add a tag
Community Content   What is Community Content?
Add new content RSS  Annotations
Processing
© 2009 Microsoft Corporation. All rights reserved. Terms of Use | Trademarks | Privacy Statement | Site Feedback
Page view tracker