DPMSG_GENERIC

typedef struct{

DWORD dwType;

} DPMSG_GENERIC;

This structure is provided for message processing.

dwType

Identifier for the message.

Your application can first cast the unknown message to the DPMSG_GENERIC type, then perform further processing based on the value of dwType. One other system message, DPSYS_SESSIONLOST, also uses this structure.