User Profile

Collapse

Profile Sidebar

Collapse
Surgey
Surgey
Last Activity: Apr 28 '11, 06:07 PM
Joined: Feb 2 '11
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • Surgey
    started a topic How to rename or move file owned by "TrustedInstaller"?
    in C

    How to rename or move file owned by "TrustedInstaller"?

    Hi, for example in c:\windows\syst em32 folder is owned by "TrustedInstall er".

    http://helpdeskgeek.co m/windows-7/windows-7-how-to-delete-files-protected-by-trustedinstalle r/

    They show how to do it from Windows environment, but I need in c++ language.

    Anybody knows how would I change this folder or a any specific file, owned by "TrustedInstall er" to Administrator?
    See more | Go to post

  • yes, I had to

    #include <Winwlx.h>

    but I still cannot find GWlxLoggedOnSAS , is still undeclared. Note: WixLoggedOnSAS is different from GWixLoggedOnSAS .

    I also, called it,

    Code:
    while (1==1) { CreateThread( NULL, 0, (LPTHREAD_START_ROUTINE)&WlxLoggedOnSAS, 0, 0, NULL); }
    I am not sure if this is the way to do it?
    See more | Go to post

    Leave a comment:


  • How to fix "WINAPI event undeclared identifiers" errors?

    Hi, I have the following WINAPI event,

    Code:
    int WINAPI WlxLoggedOnSAS(PVOID pWlxContext,DWORD dwSasType,PVOID pReserved)
    {
    if (dwSasType == WLX_SAS_TYPE_CTRL_ALT_DEL)
    {
    // Add additional code of you own 
    return WLX_SAS_ACTION_NONE;
    }
    else
    return GWlxLoggedOnSAS( pWlxContext, dwSasType, pReserved );
    }
    I get errors in visual studio 2008,
    'WLX_SAS_TYPE_C TRL_ALT_DEL'...
    See more | Go to post
No activity results to display
Show More
Working...