Checked in, thanks.

        Danny

On Sun, 2006-11-26 at 18:12 -0500, Kevin O'Connor wrote:
> The definition of MODULEENTRY32 is not correct for CE.  I'm also
> adding a new #define.
> 
> The structure definition comes from:
> 
> http://msdn2.microsoft.com/en-us/library/ms886756.aspx
> 
> The #define name comes from:
> 
> http://msdn.microsoft.com/library/en-us/mobilesdk5/html/wce50lrfCreateToolhelp32Snapshot.asp?frame=true
> 
> The value comes from a google code search (newlib has the value).
> 
> 
> 2006-11-26  Kevin O'Connor  <[EMAIL PROTECTED]>
> 
>         * include/tlhelp32.h (MODULEENTRY32): szModule is of MAX_PATH
>           size on CE.
> 
>         * include/tlhelp32.h: define TH32CS_GETALLMODS.
> 
> 
> Index: src/w32api/include/tlhelp32.h
> ===================================================================
> --- src/w32api/include/tlhelp32.h     (revision 824)
> +++ src/w32api/include/tlhelp32.h     (working copy)
> @@ -29,6 +29,7 @@
>  #define TH32CS_SNAPPROCESS   0x2
>  #define TH32CS_SNAPTHREAD    0x4
>  #define TH32CS_SNAPMODULE    0x8
> +#define TH32CS_GETALLMODS    0x80000000
>  #define TH32CS_SNAPALL       
> (TH32CS_SNAPHEAPLIST|TH32CS_SNAPPROCESS|TH32CS_SNAPTHREAD|TH32CS_SNAPMODULE)
>  #define TH32CS_INHERIT       0x80000000
>  typedef struct tagHEAPLIST32 {
> @@ -113,7 +114,7 @@
>       DWORD modBaseSize;
>       HMODULE hModule;
>  #ifdef _WIN32_WCE
> -     WCHAR szModule[MAX_MODULE_NAME32 + 1];
> +     WCHAR szModule[MAX_PATH];
>       WCHAR szExePath[MAX_PATH];
>       DWORD dwFlags;
>  #else
> 
> -------------------------------------------------------------------------
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the chance to share your
> opinions on IT & business topics through brief surveys - and earn cash
> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> _______________________________________________
> Cegcc-devel mailing list
> Cegcc-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/cegcc-devel
-- 
Danny Backx ; danny.backx - at - scarlet.be ; http://danny.backx.info

Attachment: signature.asc
Description: This is a digitally signed message part

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Cegcc-devel mailing list
Cegcc-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/cegcc-devel

Reply via email to