Re: Power On/OFF Issue ?

From: Bruce Eitman \(eMVP\) (beitmannospam_at_NOSPAM_applieddata.NOSPAM_net)
Date: 03/01/05


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.
>
>


Relevant Pages

  • Re: PB 5.0 Installation problem - Error in Cabinet File
    ... I was trying the installation during working hours ... >> Bruce Eitman ... >> beitman AT applieddata DOT net ... >> Microsoft WEP Gold-level Member ...
    (microsoft.public.windowsce.platbuilder)
  • Re: Changing Dialog Orientation
    ... beitman AT applieddata DOT net ... I can find the res file in the RELEASEDIR\0409 folder. ... "Bruce Eitman (eMVP)" wrote: ...
    (microsoft.public.windowsce.platbuilder)
  • Re: How to interface with C++ in ASP?
    ... Bruce Eitman (eMVP) ... beitman AT applieddata DOT net ... Microsoft WEP Gold-level Member ...
    (microsoft.public.windowsce.app.development)
  • Re: sources files
    ... or the second hit, also from Steve: ... > "Bruce Eitman " wrote: ... >> beitman AT applieddata DOT net ... >> Microsoft WEP Gold-level Member ...
    (microsoft.public.windowsce.platbuilder)
  • Re: build -c from Mystery Solved
    ... Paul A. Lowe ... "Bruce Eitman " wrote: ... >> Sr Project Engineer ... >>> beitman AT applieddata DOT net ...
    (microsoft.public.windowsce.platbuilder)