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

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

ClientRequires Windows Vista, Windows XP, or Windows 2000 Professional.
ServerRequires Windows Server 2008, Windows Server 2003, or Windows 2000 Server.
HeaderDeclared in Winioctl.h.

See Also

IOCTL_STORAGE_MEDIA_REMOVAL


Send comments about this topic to Microsoft

Build date: 10/2/2008

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