#include <windows.h>
#include <stdio.h>
Go to the source code of this file.
◆ EnumDesktopProc()
◆ EnumWindowStationProc()
Definition at line 13 of file enumws.c.
14{
15 HWINSTA hWinSta;
16
17 printf(
"%S\n", lpszWindowStation);
21 {
22 printf(
"\tCan't open window station.\n");
24 }
26
28}
BOOL CALLBACK EnumDesktopProc(LPWSTR lpszWindowStation, LPARAM lParam)
HWINSTA WINAPI OpenWindowStationW(_In_ LPCWSTR, _In_ BOOL, _In_ DWORD)
BOOL WINAPI EnumDesktopsW(_In_opt_ HWINSTA, _In_ DESKTOPENUMPROCW, _In_ LPARAM)
#define WINSTA_ENUMDESKTOPS
Referenced by main().
◆ main()
Definition at line 30 of file enumws.c.
31{
33
34 return 0;
35}
BOOL CALLBACK EnumWindowStationProc(LPWSTR lpszWindowStation, LPARAM lParam)
BOOL WINAPI EnumWindowStationsW(_In_ WINSTAENUMPROCW, _In_ LPARAM lParam)