Re: Custom shell - shortcut?
  Home FAQ Contact Sign in
microsoft.public.windowsxp.embedded only
 
Advanced search
POPULAR GROUPS

more...

 Up
Re: Custom shell - shortcut?         

Group: microsoft.public.windowsxp.embedded · Group Profile
Author: frednorge
Date: May 23, 2008 00:57

Dear Sean,

That was a bit over my head :). I have googled "ShellReadyEvent", but could
you be so kind to point me in the right direction? Where exactly do i
find/put this code?

Im using minlogon in my runtime.

--
Best regards,
Fred

"Sean Liming (MVP)" wrote:
> Hopefully the code will be posted correctly. Basically it is the
> ShellReadyEvent
>
>
> if( !SetShellReadyEvent("msgina: ShellReadyEvent") )
> SetShellReadyEvent("Global\\msgina: ShellReadyEvent");
>
> bool SetShellReadyEvent(const char *eventName)
> {
> HANDLE hEvent = OpenEvent(EVENT_MODIFY_STATE, FALSE, eventName);
>
> if( !hEvent )
> return false;
>
> SetEvent(hEvent);
> CloseHandle(hEvent);
> return true;
> }
>
>
> --
> Regards,
>
> Sean Liming
> www.sjjmicro.com / www.seanliming.com
> Book Author - XP Embedded Advanced, XP Embedded Supplemental Toolkit
no comments
diggit! del.icio.us! reddit!