GUID_DEVINTERFACE_MODEM
The GUID_DEVINTERFACE_MODEM device interface class is defined for modem devices.
Attribute | Setting |
---|---|
Identifier |
GUID_DEVINTERFACE_MODEM |
Class GUID |
{2C7089AA-2E0E-11D1-B114-00C04FC2AAE4} |
Remarks
Drivers for modem devices register instances of this device interface class to notify the operating system and applications of the presence of modem devices.
GUID_DEVINTERFACE_MODEM in Ntddmodm.h will be defined correctly only if the correct versions of the INITGUID and DEFINE_GUID macros are defined before the inclusion of Ntddmodm.h. The DEFINE_GUID macro is defined in the Guiddef.h. To make sure that INITGUID, DEFINE_GUID, and GUID_DEVINTERFACE_MODEM are correctly defined, include the following code in a header file:
#ifndef INITGUID
#define INITGUID
#include <guiddef.h>
#undef INITGUID
#else
#include <guiddef.h>
#endif
#include <ntddmodm.h>
...
For information about modem devices, see Modem Devices Design Guide.
For an example of using this device interface class, see the FakeModem - Unimodem controller-less modem sample driver sample that is provided in the WDK.
GUID_CLASS_MODEM is an obsolete identifier for this device interface class; for new instances of this class, use GUID_DEVINTERFACE_MODEM instead.
Requirements
Version |
Available in Microsoft Windows 2000 and later versions of Windows. |
Header |
Ntddmodm.h (include Ntddmodm.h) |
See also
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for