Re: CreateProcessAsUserW always returns ERROR_INVALID_PARAMETER

From: Steve Friedl [MVP/Security] (steve_at_unixwiz.net)
Date: 11/29/04


Date: Mon, 29 Nov 2004 14:43:39 -0800


"user1976" <nwsgrp@gmail.com> wrote in message
news:6965710c.0411291436.5f45c8d9@posting.google.com...
> if( !CreateProcessAsUserW(
> ...
> NORMAL_PRIORITY_CLASS | CREATE_UNICODE_ENVIRONMENT,
> NULL, // pointer to new environment block
> ...

I notice that CREATE_UNICODE_ENVIRONMENT is specified, but there is no
environment block: is it possible that this could be causing the confusion?

(and yes, this is a stretch)

Steve

-- 
Steve Friedl -- Tustin, California USA -- www.unixwiz.net
Unix Wizard -- Microsoft MVP/Security -- I speak for me only 


Relevant Pages

  • Re: CreateProcessAsUserW always returns ERROR_INVALID_PARAMETER
    ... > if(!CreateProcessAsUserW( ... environment block: is it possible that this could be causing the confusion? ... Steve Friedl -- Tustin, California USA -- www.unixwiz.net ... Unix Wizard -- Microsoft MVP/Security -- I speak for me only ...
    (microsoft.public.win32.programmer.kernel)
  • Re: CreateProcessAsUserW always returns ERROR_INVALID_PARAMETER
    ... > if(!CreateProcessAsUserW( ... environment block: is it possible that this could be causing the confusion? ... Steve Friedl -- Tustin, California USA -- www.unixwiz.net ... Unix Wizard -- Microsoft MVP/Security -- I speak for me only ...
    (microsoft.public.vc.mfc)

Loading