This topic has not yet been rated - Rate this topic

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

Minimum supported client

Windows XP

Minimum supported server

Windows Server 2003

Header

WinIoCtl.h (include Windows.h)

See also

IOCTL_STORAGE_MEDIA_REMOVAL

 

 

Send comments about this topic to Microsoft

Build date: 4/16/2013

Did you find this helpful?
(1500 characters remaining)

Community Additions

ADD
© 2013 Microsoft. All rights reserved.