Gets information about attached devices.
#define INCL_DOSPROCESS #include <os2.h> PVOID pdevinfo; /* Address of the area where the information is returned. */ ULONG item; /* Device information to be returned. */ APIRET ulrc; /* Return Code. */ ulrc = DosDevConfig(pdevinfo, item);