CLASS_MEDIA_CHANGE_CONTEXT - NtDoc

Native API online documentation, based on the System Informer (formerly Process Hacker) phnt headers
// winioctl.h

typedef struct _CLASS_MEDIA_CHANGE_CONTEXT {
  DWORD MediaChangeCount;
  DWORD NewState;
} CLASS_MEDIA_CHANGE_CONTEXT, *PCLASS_MEDIA_CHANGE_CONTEXT;
View the official Win32 API reference

NtDoc

No description available.

Win32 API reference (ns-winioctl-class_media_change_context)

CLASS_MEDIA_CHANGE_CONTEXT structure

Description

Contains information associated with a media change event.

Members

MediaChangeCount

The number of times that media has been changed since system startup.

NewState

The state information. This member can be one of the following values from the MEDIA_CHANGE_DETECTION_STATE enumeration type.

MediaUnknown (0)

MediaPresent (1)

MediaNotPresent (2)

MediaUnavailable (3)

See also

DBT_CUSTOMEVENT

DBT_DEVICEREMOVECOMPLETE