Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019 #ifndef __CS_CSUTIL_WIN32_PSDK_COMPAT_H__
00020 #define __CS_CSUTIL_WIN32_PSDK_COMPAT_H__
00021
00029 #ifndef CDS_UPDATEREGISTRY
00030 #define CDS_UPDATEREGISTRY 0x00000001
00031 #endif
00032 #ifndef CDS_TEST
00033 #define CDS_TEST 0x00000002
00034 #endif
00035 #ifndef CDS_FULLSCREEN
00036 #define CDS_FULLSCREEN 0x00000004
00037 #endif
00038 #ifndef CDS_GLOBAL
00039 #define CDS_GLOBAL 0x00000008
00040 #endif
00041 #ifndef CDS_SET_PRIMARY
00042 #define CDS_SET_PRIMARY 0x00000010
00043 #endif
00044 #ifndef CDS_RESET
00045 #define CDS_RESET 0x40000000
00046 #endif
00047 #ifndef CDS_SETRECT
00048 #define CDS_SETRECT 0x20000000
00049 #endif
00050 #ifndef CDS_NORESET
00051 #define CDS_NORESET 0x10000000
00052 #endif
00053
00054
00055 #ifndef DISP_CHANGE_SUCCESSFUL
00056 #define DISP_CHANGE_SUCCESSFUL 0
00057 #endif
00058 #ifndef DISP_CHANGE_RESTART
00059 #define DISP_CHANGE_RESTART 1
00060 #endif
00061 #ifndef DISP_CHANGE_FAILED
00062 #define DISP_CHANGE_FAILED -1
00063 #endif
00064 #ifndef DISP_CHANGE_BADMODE
00065 #define DISP_CHANGE_BADMODE -2
00066 #endif
00067 #ifndef DISP_CHANGE_NOTUPDATED
00068 #define DISP_CHANGE_NOTUPDATED -3
00069 #endif
00070 #ifndef DISP_CHANGE_BADFLAGS
00071 #define DISP_CHANGE_BADFLAGS -4
00072 #endif
00073 #ifndef DISP_CHANGE_BADPARAM
00074 #define DISP_CHANGE_BADPARAM -5
00075 #endif
00076
00077 #ifndef ENUM_CURRENT_SETTINGS
00078 #define ENUM_CURRENT_SETTINGS ((DWORD)-1)
00079 #endif
00080
00081
00082 #ifndef _WIN64
00083 #ifndef SetWindowLongPtrA
00084 #define SetWindowLongPtrA SetWindowLongA
00085 #endif
00086 #ifndef SetWindowLongPtrW
00087 #define SetWindowLongPtrW SetWindowLongW
00088 #endif
00089
00090 #ifndef GetWindowLongPtrA
00091 #define GetWindowLongPtrA GetWindowLongA
00092 #endif
00093 #ifndef GetWindowLongPtrW
00094 #define GetWindowLongPtrW GetWindowLongW
00095 #endif
00096
00097 #ifndef GWLP_WNDPROC
00098 #define GWLP_WNDPROC GWL_WNDPROC
00099 #endif
00100
00101 #ifndef GWLP_USERDATA
00102 #define GWLP_USERDATA GWL_USERDATA
00103 #endif
00104 #endif
00105
00106 #ifndef IDI_SHIELD
00107
00108 #define IDI_SHIELD MAKEINTRESOURCE(32518)
00109 #endif
00110
00111 #endif // __CS_CSUTIL_WIN32_PSDK_COMPAT_H__