cscg24-guacamole

CSCG 2024 Challenge 'Guacamole Mashup'
git clone https://git.sinitax.com/sinitax/cscg24-guacamole
Log | Files | Refs | sfeed.txt

windows.h (4051B)


      1/**
      2 * WinPR: Windows Portable Runtime
      3 * Windows Header Include Wrapper
      4 *
      5 * Copyright 2012 Marc-Andre Moreau <marcandre.moreau@gmail.com>
      6 *
      7 * Licensed under the Apache License, Version 2.0 (the "License");
      8 * you may not use this file except in compliance with the License.
      9 * You may obtain a copy of the License at
     10 *
     11 *     http://www.apache.org/licenses/LICENSE-2.0
     12 *
     13 * Unless required by applicable law or agreed to in writing, software
     14 * distributed under the License is distributed on an "AS IS" BASIS,
     15 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
     16 * See the License for the specific language governing permissions and
     17 * limitations under the License.
     18 */
     19
     20#ifndef WINPR_WINDOWS_H
     21#define WINPR_WINDOWS_H
     22
     23/* Windows header include order is important, use this instead of including windows.h directly */
     24
     25#ifdef _WIN32
     26
     27#ifndef WIN32_LEAN_AND_MEAN
     28#define WIN32_LEAN_AND_MEAN
     29#endif
     30
     31#include <winsock2.h>
     32#include <windows.h>
     33#include <ws2tcpip.h>
     34
     35#else
     36
     37/* Client System Parameters Update PDU
     38 * defined in winuser.h
     39 */
     40typedef enum
     41{
     42	SPI_SETDRAGFULLWINDOWS = 0x00000025,
     43	SPI_SETKEYBOARDCUES = 0x0000100B,
     44	SPI_SETKEYBOARDPREF = 0x00000045,
     45	SPI_SETWORKAREA = 0x0000002f,
     46	RAIL_SPI_DISPLAYCHANGE = 0x0000F001,
     47	SPI_SETMOUSEBUTTONSWAP = 0x00000021,
     48	RAIL_SPI_TASKBARPOS = 0x0000F000,
     49	SPI_SETHIGHCONTRAST = 0x00000043,
     50	SPI_SETCARETWIDTH = 0x00002007,
     51	SPI_SETSTICKYKEYS = 0x0000003B,
     52	SPI_SETTOGGLEKEYS = 0x00000035,
     53	SPI_SETFILTERKEYS = 0x00000033,
     54	RAIL_SPI_DISPLAY_ANIMATIONS_ENABLED = 0x0000F002,
     55	RAIL_SPI_DISPLAY_ADVANCED_EFFECTS_ENABLED = 0x0000F003,
     56	RAIL_SPI_DISPLAY_AUTO_HIDE_SCROLLBARS = 0x0000F004,
     57	RAIL_SPI_DISPLAY_MESSAGE_DURATION = 0x0000F005,
     58	RAIL_SPI_CLOSED_CAPTION_FONT_COLOR = 0x0000F006,
     59	RAIL_SPI_CLOSED_CAPTION_FONT_OPACITY = 0x0000F007,
     60	RAIL_SPI_CLOSED_CAPTION_FONT_SIZE = 0x0000F008,
     61	RAIL_SPI_CLOSED_CAPTION_FONT_STYLE = 0x0000F009,
     62	RAIL_SPI_CLOSED_CAPTION_FONT_EDGE_EFFECT = 0x0000F00A,
     63	RAIL_SPI_CLOSED_CAPTION_BACKGROUND_COLOR = 0x0000F00B,
     64	RAIL_SPI_CLOSED_CAPTION_BACKGROUND_OPACITY = 0x0000F00C,
     65	RAIL_SPI_CLOSED_CAPTION_REGION_COLOR = 0x0000F00D,
     66	RAIL_SPI_CLOSED_CAPTION_REGION_OPACITY = 0x0000F00E
     67} SystemParam;
     68
     69/* Server System Parameters Update PDU */
     70#define SPI_SETSCREENSAVEACTIVE 0x00000011
     71
     72/* HIGHCONTRAST flags values */
     73#define HCF_HIGHCONTRASTON 0x00000001
     74#define HCF_AVAILABLE 0x00000002
     75#define HCF_HOTKEYACTIVE 0x00000004
     76#define HCF_CONFIRMHOTKEY 0x00000008
     77#define HCF_HOTKEYSOUND 0x00000010
     78#define HCF_INDICATOR 0x00000020
     79#define HCF_HOTKEYAVAILABLE 0x00000040
     80
     81/* TS_FILTERKEYS */
     82#define FKF_FILTERKEYSON 0x00000001
     83#define FKF_AVAILABLE 0x00000002
     84#define FKF_HOTKEYACTIVE 0x00000004
     85#define FKF_CONFIRMHOTKEY 0x00000008
     86#define FKF_HOTKEYSOUND 0x00000010
     87#define FKF_INDICATOR 0x00000020
     88#define FKF_CLICKON 0x00000040
     89
     90/* TS_TOGGLEKEYS */
     91#define TKF_TOGGLEKEYSON 0x00000001
     92#define TKF_AVAILABLE 0x00000002
     93#define TKF_HOTKEYACTIVE 0x00000004
     94#define TKF_CONFIRMHOTKEY 0x00000008
     95#define TKF_HOTKEYSOUND 0x00000010
     96
     97/* TS_STICKYKEYS */
     98#define SKF_STICKYKEYSON 0x00000001
     99#define SKF_AVAILABLE 0x00000002
    100#define SKF_HOTKEYACTIVE 0x00000004
    101#define SKF_CONFIRMHOTKEY 0x00000008
    102#define SKF_HOTKEYSOUND 0x00000010
    103#define SKF_INDICATOR 0x00000020
    104#define SKF_AUDIBLEFEEDBACK 0x00000040
    105#define SKF_TRISTATE 0x00000080
    106#define SKF_TWOKEYSOFF 0x00000100
    107#define SKF_LSHIFTLOCKED 0x00010000
    108#define SKF_RSHIFTLOCKED 0x00020000
    109#define SKF_LCTLLOCKED 0x00040000
    110#define SKF_RCTLLOCKED 0x00080000
    111#define SKF_LALTLOCKED 0x00100000
    112#define SKF_RALTLOCKED 0x00200000
    113#define SKF_LWINLOCKED 0x00400000
    114#define SKF_RWINLOCKED 0x00800000
    115#define SKF_LSHIFTLATCHED 0x01000000
    116#define SKF_RSHIFTLATCHED 0x02000000
    117#define SKF_LCTLLATCHED 0x04000000
    118#define SKF_RCTLLATCHED 0x08000000
    119#define SKF_LALTLATCHED 0x10000000
    120#define SKF_RALTLATCHED 0x20000000
    121#define SKF_LWINLATCHED 0x40000000
    122#define SKF_RWINLATCHED 0x80000000
    123
    124#endif
    125
    126#ifndef SPI_SETSCREENSAVESECURE
    127#define SPI_SETSCREENSAVESECURE 0x00000077
    128#endif
    129
    130#endif /* WINPR_WINDOWS_H */