Re: Q322047 Does not seem to Work for Enable Themes for non Admin

From: Carlos Lopez (clopezonline_at_microsoft.com)
Date: 09/23/03


Date: Tue, 23 Sep 2003 19:27:06 GMT


Hello Robert,

I'll be doing further investigation into this issue. I have a couple of
questions. Your GINA creates several desktops. Does that mean that when
the user logs in, it's running on a desktop other than Winsta0\Default?

thanks
Carlos

--------------------
| From: "Robert Hoghaug" <Robert@exdev.net>
| References: <#YLpOI0cDHA.748@TK2MSFTNGP10.phx.gbl>
<ezgk3JbdDHA.460@cpmsftngxa06.phx.gbl>
<uxMKrmmdDHA.1728@TK2MSFTNGP09.phx.gbl>
<pxcS1dIeDHA.1972@cpmsftngxa06.phx.gbl>
| Subject: Re: Q322047 Does not seem to Work for Enable Themes for non Admin
| Date: Sat, 13 Sep 2003 23:27:43 -0500
| Lines: 131
| X-Priority: 3
| X-MSMail-Priority: Normal
| X-Newsreader: Microsoft Outlook Express 6.00.2800.1158
| X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
| Message-ID: <e4ZtOineDHA.4024@TK2MSFTNGP11.phx.gbl>
| Newsgroups: microsoft.public.platformsdk.security
| NNTP-Posting-Host: exdevco.com 64.122.48.107
| Path: cpmsftngxa06.phx.gbl!TK2MSFTNGP08.phx.gbl!TK2MSFTNGP11.phx.gbl
| Xref: cpmsftngxa06.phx.gbl microsoft.public.platformsdk.security:2331
| X-Tomcat-NG: microsoft.public.platformsdk.security
|
| Hello,
| Yes I have checked the return codes from getLast Error and they show
| success.
| Thanks all for the responses.
|
| I hope someone at MS can contineu working with me on this. I need to solve
| this problem as a Customer is Not happy with me a tthe moment. I was
wonder
| if the desktop security "Could" be a problem here or if there is a problem
| with more than one desktop (my Gina create a couple for the user). Is
there
| a need to "register" something with Shsvs.dll? Any help woudl be greatly
| appreciated. I notice that TS handles this and that Windows opened on
| remote Workstations seem to have the Shell Started. (The again the remote
| Admin window, for example may just be a "Snapshot" or Connector to the
| Winsta0\default). Doe sthe ShSvs.dll stuff require it to be
Winsta0\default
| (gosh I hope not).
|
| Thanks,
| Robert
|
| "Lion Shi" <lionshi@online.microsoft.com> wrote in message
| news:pxcS1dIeDHA.1972@cpmsftngxa06.phx.gbl...
| > Hello Robert,
| >
| > I think what you have done is just right. You may check the GetLastError
| > value after each call to make sure the function works well. I also
suggest
| > to try it on another machine and see if it works.
| >
| > Hope this helps you.
| >
| > Best regards,
| >
| > Lion Shi [MSFT]
| > MCSE, MCSD
| > Microsoft Support Engineer
| > Get Secure! ¨C www.microsoft.com/security
| >
| > This posting is provided "AS IS" with no warranties, and confers no
| rights.
| > You assume all risk for your use. 2003 Microsoft Corporation. All
rights
| > reserved.
| > --------------------
| > | From: "Robert Hoghaug" <Robert@exdev.net>
| > | References: <#YLpOI0cDHA.748@TK2MSFTNGP10.phx.gbl>
| > <ezgk3JbdDHA.460@cpmsftngxa06.phx.gbl>
| > | Subject: Re: Q322047 Does not seem to Work for Enable Themes for non
| Admin
| > | Date: Mon, 8 Sep 2003 10:11:24 -0500
| > | Lines: 68
| > | X-Newsreader: Microsoft Outlook Express 6.00.2800.1158
| > | X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
| > | Message-ID: <uxMKrmmdDHA.1728@TK2MSFTNGP09.phx.gbl>
| > | Newsgroups: microsoft.public.platformsdk.security
| > | NNTP-Posting-Host: exdevco.com 64.122.48.107
| > | Path: cpmsftngxa06.phx.gbl!TK2MSFTNGP08.phx.gbl!TK2MSFTNGP09.phx.gbl
| > | Xref: cpmsftngxa06.phx.gbl microsoft.public.platformsdk.security:2213
| > | X-Tomcat-NG: microsoft.public.platformsdk.security
| > |
| > | Yes,
| > | Here are the ordinals as I have them defined
| > |
| > | #define ThemeWatchForStart_Ordinal 1
| > | #define ThemeWaitForServiceReady_Ordinal 2
| > |
| > | typedef BOOL (WINAPI *fpThemeWatchForStart)(VOID);
| > | typedef DWORD (WINAPI *fpThemeWaitForServiceReady) (DWORD
dwTimeout);
| > |
| > | Here is the code that loads them
| > | / Load THE dll
| > | m_hMod = LoadLibraryA("Shsvcs.dll");
| > | if (0 == m_hMod) {
| > | m_dwLastError = GetLastError();
| > | return (FALSE);
| > | }
| > | // Get the pointer to the functions
| > | m_fpThemeWatchForStart = (fpThemeWatchForStart)GetProcAddress(m_hMod,
| > | (LPCSTR)ThemeWatchForStart_Ordinal);
| > | if (0 == m_fpThemeWatchForStart) {
| > | m_dwLastError = GetLastError();
| > | FreeLibrary(m_hMod);
| > | m_hMod = 0;
| > | return (FALSE);
| > | }
| > |
| > | m_fpThemeWaitForServiceReady =
| > | (fpThemeWaitForServiceReady)GetProcAddress(m_hMod,
| > | (LPCSTR)ThemeWaitForServiceReady_Ordinal);
| > | if (0 == m_fpThemeWaitForServiceReady) {
| > | m_dwLastError = GetLastError();
| > | FreeLibrary(m_hMod);
| > | m_hMod = 0;
| > | return (FALSE);
| > | }
| > | --- Here is hopw the Ordinals are defined in the knowledge base
article
| > | ordinal #2, EXTERN_C DWORD WINAPI ThemeWaitForServiceReady (DWORD
| > | dwTimeout);
| > |
| > | ordinal #1, EXTERN_C BOOL WINAPI ThemeWatchForStart (void);
| > |
| > |
| > |
| > | -- End Code --
| > |
| > | It does not seem to make any difference when I call these function.
| > |
| > | Any help would be greatly appreciated
| > | Robert
| > |
| > | ""Xin Huang"" <xinhuang@online.microsoft.com> wrote in message
| > | news:ezgk3JbdDHA.460@cpmsftngxa06.phx.gbl...
| > | > It should work. Can you double check if the two Theme* APIs from
| > | shsvcs.dll
| > | > are loaded correctly by ordinal?
| > | >
| > | > Regards,
| > | > Xin
| > | >
| > | > This posting is provided "AS IS" with no warranties, and confers no
| > | rights.
| > | >
| > | > Are you secure? Visit http://windowsupdate.microsoft.com to get the
| > latest
| > | > critical updates and service packs available for your computer's
| Windows
| > | > operating system.
| > | >
| > |
| > |
| > |
| >
|
|
|



Relevant Pages

  • Re: Q322047 Does not seem to Work for Enable Themes for non Admin
    ... Hello Robert, ... Microsoft Support Engineer ... This posting is provided "AS IS" with no warranties, and confers no rights. ... 2003 Microsoft Corporation. ...
    (microsoft.public.platformsdk.security)
  • Re: Q322047 Does not seem to Work for Enable Themes for non Admin
    ... Hello Robert, ... This posting is provided "AS IS" with no warranties, and confers no rights. ... 2003 Microsoft Corporation. ... I notice that TS handles this and that Windows opened on ...
    (microsoft.public.platformsdk.security)
  • Re: Single user unable to access OWA
    ... Robert helped rule out a lot of options and I ... User was able to access OWA remotely last night, ... Click Services tab and select Hide All Microsoft Services and Disable ... > 2) Expand the mailbox store where the problematic mailbox located, ...
    (microsoft.public.backoffice.smallbiz)
  • Re: Single user unable to access OWA
    ... Sometimes a reboot fixes things that should not be broken. ... User was able to access OWA remotely last night, ... Robert Li ... Microsoft CSS Online Newsgroup Support ...
    (microsoft.public.backoffice.smallbiz)
  • RE: Monitoring and Reporting Errors
    ... Thanks Robert, uploaded and called IIS.zip--contains both files you requested. ... Microsoft CSS Online Newsgroup Support ... This newsgroup only focuses on SBS technical issues. ... Click Directory Security tab. ...
    (microsoft.public.windows.server.sbs)

Quantcast