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

 

 

Community Additions

ADD
Show:
© 2015 Microsoft