if((dwFlags & DEVFLAGS_NAKEDENTRIES) == 0) {
if(lpszPrefix[0] != 0) {
DEBUGCHK(lpszBusPrefix[0] == 0 || wcsicmp(lpszBusPrefix, lpszPrefix) == 0);
pEffType = lpszPrefix; // use standard prefix decoration
} else if(lpszBusPrefix[0] != 0 && lpdev->pszBusName != NULL) {
pEffType = lpszBusPrefix; // no standard prefix, use bus prefix decoration
} else {
if(lpdev->pszDeviceName != NULL) {
// device is expected to have a device or bus name, but we don't know
// how to look for its entry points
DEBUGMSG(ZONE_ACTIVE || ZONE_ERROR,
(_T("DEVICE!CreateDevice: no entry point information for '%s' can't load '%s'\r\n"),
lpszLib, lpdev->pszDeviceName));
dwStatus = ERROR_INVALID_FUNCTION;
}
}
}