I see this message dumped all the time:

DeviceFolder::LoadDevice!Enumerate Found deprecated load instructions at
(Driver
s\BuiltIn\AFD). Driver cannot be unloaded.
DeviceFolder::LoadDevice!Enumerate
Fou
nd deprecated load instructions at (Drivers\BuiltIn\PPP). Driver cannot be
unloa
ded.


It looks like it originates from:
C:\WINCE500\PUBLIC\COMMON\OAK\DRIVERS\BUSENUM\BUSDEF\defbus.cpp(153):

It is a RETAILMSG but I don't understand what is looking for.
Is there a "correct" way to satisfy what is looking for and suppress the
message?


I could change it to a "DEBUGMSG" but I thought modifying anything in the
PUBLIC directory is a no no.

Re: DeviceFolder::LoadDevice!Enumerate Found deprecated load instructions by A

A
Tue May 16 10:15:47 CDT 2006

BOOL DeviceFolder::LoadDevice()
{
if ( m_hDevice == NULL && m_lpTemplateRegPath!=NULL &&
m_lpDeviceBusName!=NULL && m_dwInitRegArray ) {
DEBUGMSG(DebugZoneChk(DBG_DEVICE_INIT),
(L"DeviceFolder::LoadDevice!Loading driver from device key %s\r\n",
m_lpTemplateRegPath));
#define SUPPORT_DEPRECATED_ENTRY
#ifdef SUPPORT_DEPRECATED_ENTRY
if (!IsKeyOpened()) {
DEBUGMSG(DebugZoneChk(DBG_DEVICE_ENUM| DBG_DEVICE_ERROR),
(TEXT("DeviceFolder!Load RegOpenKeyEx(%s) returned error \r\n"),
m_lpTemplateRegPath));





is it the "#define SUPPORT_DEPRECATED_ENTRY"
thats the bad boy?

Should I just comment this line out?









"A.User" <a_user@home.com> wrote in message
news:epJh9pPeGHA.3888@TK2MSFTNGP02.phx.gbl...
>I see this message dumped all the time:
>
> DeviceFolder::LoadDevice!Enumerate Found deprecated load instructions at
> (Driver
> s\BuiltIn\AFD). Driver cannot be unloaded.
>
> DeviceFolder::LoadDevice!Enumerate Fou
> nd deprecated load instructions at (Drivers\BuiltIn\PPP). Driver cannot be
> unloa
> ded.
>
>
> It looks like it originates from:
> C:\WINCE500\PUBLIC\COMMON\OAK\DRIVERS\BUSENUM\BUSDEF\defbus.cpp(153):
>
> It is a RETAILMSG but I don't understand what is looking for.
> Is there a "correct" way to satisfy what is looking for and suppress the
> message?
>
>
> I could change it to a "DEBUGMSG" but I thought modifying anything in the
> PUBLIC directory is a no no.
>
>



Re: DeviceFolder::LoadDevice!Enumerate Found deprecated load instructions by Steve

Steve
Tue May 16 10:44:55 CDT 2006

No, you should leave it all alone. It's MS code and there's nothing you can
do about it. It's completely harmless. It's just a RETAILMSG that should
have been a DEBUGMSG.

--
Steve Maillet
EmbeddedFusion
www.EmbeddedFusion.com
smaillet at EmbeddedFusion dot com