Re: Power On/OFF Issue ?
From: Bruce Eitman \(eMVP\) (beitmannospam_at_NOSPAM_applieddata.NOSPAM_net)
Date: 02/27/05
- Next message: Bruce Eitman \(eMVP\): "Re: Trying to understand SDK generation..."
- Previous message: DongFang Tian: "about Buffer Manager"
- In reply to: Yu: "Power On/OFF Issue ?"
- Messages sorted by: [ date ] [ thread ]
Date: Sun, 27 Feb 2005 11:46:53 -0500
And how do you use that string? I would be willing to bet that you are
using it in ways that are inconsistent with how you declare it. Like
"adding" characters to it at runtime.
-- Bruce Eitman (eMVP) Senior Engineer beitman AT applieddata DOT net Applied Data Systems www.applieddata.net An ISO 9001:2000 Registered Company Microsoft WEP Gold-level Member "Yu" <Yu.Mails@msa.hinet.net> wrote in message news:%23oc3m%239GFHA.1476@TK2MSFTNGP09.phx.gbl... > Hi, > > I found a strange situation. > In kernel\hal\oemioctl.c , there is some global variables, such as > HALVendorStr. > > If I declare as following, system can not wakeup after suspend. > const WCHAR HALVendorStr[] = L"Abcd\0"; > > If I declare as following, system can wakeup after suspend. > const WCHAR HALVendorStr[] = L"Abcd\0\0\0\0"; > > What's the reason ? > Why is the OAL so sensitive? > > Thanks. > > Yu. > >
- Next message: Bruce Eitman \(eMVP\): "Re: Trying to understand SDK generation..."
- Previous message: DongFang Tian: "about Buffer Manager"
- In reply to: Yu: "Power On/OFF Issue ?"
- Messages sorted by: [ date ] [ thread ]