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 :


Page view tracker