How to use C++ API to logon XP in Fast User Switching mode?

Win32 Programming

    Next

  • 1. Volume Serial No
    When windows formats a disk it gives a volume serial number to that disk or to a partition. What is the logic or method of assigning volume serial number to the disk or to the partition ? Kind regards. M. Engur
  • 2. stdin/stdout handle with CreateIoCompletionPort?
    Is it possible to pass a handle for stdin and stdout to CreateIoCompletionPort? I ask as I tried passing a handle returned by GetStdHandle(STD_OUTPUT_HANDLE) and by CreateFile("CONOUT$", GENERIC_WRITE, FILE_SHARE_WRITE, NULL, CREATE_ALWAYS, FILE_ATTRIBUTE_NORMAL | FILE_FLAG_OVERLAPPED, NULL) but didn't succeed. CreateIoCompletionPort always returns 0 then (the error message is "The handle is invalid"). Boris
  • 3. Allocate memory in kernel-mode with protection PAGE_EXECUTE_READWRITE
    Hi there, I'm looking for a way to allocate memory in kernel-mode, which is executable (also if DEP is enabled!!). Thx for any help.. Alex
  • 4. Using Setup API to determine if a drive is on USB
    Let me first say that I am NOT asking how to determine if a drive is USB. I am already doing that using DeviceIoControl with IOCTL_STORAGE_QUERY_PROPERTY. *** The MSDN entry for the Win32 GetDriveType function says: "To determine whether a drive is a USB-type drive, call SetupDiGetDeviceRegistryProperty and specify the SPDRP_REMOVAL_POLICY property." I am curious about how this can be done as I cannot determine the association between a drive letter and the device interface. I can enumerate the USB devices with SetupDiEnumDeviceInterfaces and locate my drive with physical device object name "\Device\USBPDO-7". I can find the MS-DOS device name associated with the drive letter using QueryDosDevice, which is "\Device\Harddisk1\DP(1)0-0+c". This is where I get stuck. How do I bridge the gap between the device interface and the drive letter? Regards, Andrew

How to use C++ API to logon XP in Fast User Switching mode?

Postby John » Tue, 17 Oct 2006 18:48:13 GMT

Hi,
I use "Winlogon Notification" to create a application(in Fast User
Switching mode).The application show a DialogBox upper on the FUS
Window.I want to use my application to logon XP.Does anyone know "How
to use C++ API to logon XP"? (Not GINA)

Thanks

John


How to use C++ API to logon XP in Fast User Switching mode?

Postby John » Tue, 17 Oct 2006 18:49:41 GMT

Hi,
I use "Winlogon Notification" to create a application(in Fast User
Switching mode).The application show a DialogBox upper on the FUS
Window.I want to use my application to logon XP.Does anyone know "How
to use C++ API to logon XP"? (Not GINA)

Thanks

John


Similar Threads:

1.How to use C++ API to logon XP in Fast User Switching mode?

Hi,
I use "Winlogon Notification" to create a application(in Fast User
Switching mode).The application show a DialogBox upper on the FUS
Window.I want to use my application to logon XP.Does anyone know "How
to use C++ API to logon XP"? (Not GINA) 

Thanks 


John



Return to Win32 Programming

 

Who is online

Users browsing this forum: No registered users and 87 guest