Re: Power On/OFF Issue ?
From: Bruce Eitman \(eMVP\) (beitmannospam_at_NOSPAM_applieddata.NOSPAM_net)
Date: 03/01/05
- Next message: andreolkovisky: "Re: Reinstalling PB 5.0 Evaluation Kit"
- Previous message: rcxkid: "BLDR crashing in decoder??"
- In reply to: Yu: "Re: Power On/OFF Issue ?"
- Messages sorted by: [ date ] [ thread ]
Date: Tue, 1 Mar 2005 08:48:52 -0500
Nothing to dangerous there. What about the other variables that are
declared around it? Could be that adding a few bytes just protects
something else.
-- 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:eC1gmzlHFHA.3588@TK2MSFTNGP14.phx.gbl... > Hi, > > Following is our codes of using OAL string. > Is there any problem ? > -------------------------------------------------------------------------- -- > ----------------------------------------------------------------------- > memcpy(pProcInfo->szProcessCore, HALOEMCoreStr, > (strlenW(HALOEMCoreStr)+1)*sizeof(WCHAR) ); > memcpy(pProcInfo->szProcessorName, g_wcProcessorStr, > (strlenW(HALOEMStr)+1)*sizeof(WCHAR) ); > memcpy(pProcInfo->szVendor, HALVendorStr, > (strlenW(HALVendorStr)+1)*sizeof(WCHAR) ); > pProcInfo->dwInstructionSet = (DWORD)0; > pProcInfo->dwClockSpeed = S2410FCLK; > *lpBytesReturned = sizeof(PROCESSOR_INFO); > if (*lpBytesReturned > nOutBufSize) > return FALSE; > else > return TRUE > > -------------------------------------------------------------------------- -- > ----------------------------------------------------------------------- > > > Yu. > >
- Next message: andreolkovisky: "Re: Reinstalling PB 5.0 Evaluation Kit"
- Previous message: rcxkid: "BLDR crashing in decoder??"
- In reply to: Yu: "Re: Power On/OFF Issue ?"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|
|