CreateProcess API - undocumented use

Andreas Mohr andi at rhlx01.fht-esslingen.de
Thu Jan 31 12:24:25 CST 2002


On Thu, Jan 31, 2002 at 02:55:28PM -0200, Ricardo wrote:
> > There is no such thing as a dwFileAttribute of CreateProcess.
> > Which parameter are you talking of ?
> 
> CreateProcessA has a parameter called dwFillAtribute, not dwFileAttribute,
> sorry, and I saw at the Wine docs
> (http://www.winehq.com/WineAPI/CreateProcessA.html) that it's not
> implemented yet.
Well, your info is confusing. dwFillAttribute is not a CreateProcess
parameter. Instead it's a variable inside the lpStartupInfo struct,
which is a CreateProcess parameter.

Wine readily says:
    if (lpStartupInfo->dwFlags & STARTF_USEFILLATTRIBUTE)
        FIXME("(%s,...): STARTF_USEFILLATTRIBUTE %lx ignored\n",
                      name, lpStartupInfo->dwFillAttribute);

> ps.: Is WineAPI updated? if not where can i get it updated? Thanks
I don't think it's updated.

Hmm, so you mean some program launches another program, passing a value
in STARTUPINFO.dwFillAttribute, right ?
If so, how does the launched process retrieve the STARTUPINFO content
in your case ?

Wine certainly doesn't pass the STARTUPINFO strut content to program
space yet; it's simply being used for initializing certain aspects of
the new program.

-- 
Andreas Mohr                        Stauferstr. 6, D-71272 Renningen, Germany
Tel. +49 7159 800604                http://home.nexgo.de/andi.mohr/




More information about the wine-devel mailing list