1 //--------------------------------------------------------------------------- 2 // Copyright (c) Microsoft Corporation. All rights reserved. 3 // 4 // This file is automatically generated. Please do not edit it directly. 5 // 6 // File name: D2D1Effects_2.h 7 //--------------------------------------------------------------------------- 8 #ifdef _MSC_VER 9 #pragma once 10 #endif // #ifdef _MSC_VER 11 12 #ifndef _D2D1_EFFECTS_2_ 13 #define _D2D1_EFFECTS_2_ 14 15 #ifndef _D2D1_EFFECTS_1_ 16 #include <d2d1effects_1.h> 17 #endif // #ifndef _D2D1_EFFECTS_1_ 18 19 /*#include <winapifamily.h>*/ 20 21 /*#pragma region Application Family*/ 22 /*#if WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_APP)*/ 23 24 // Built in effect CLSIDs 25 DEFINE_GUID(CLSID_D2D1Contrast, 0xb648a78a, 0x0ed5, 0x4f80, 0xa9, 0x4a, 0x8e, 0x82, 0x5a, 0xca, 0x6b, 0x77); 26 DEFINE_GUID(CLSID_D2D1RgbToHue, 0x23f3e5ec, 0x91e8, 0x4d3d, 0xad, 0x0a, 0xaf, 0xad, 0xc1, 0x00, 0x4a, 0xa1); 27 DEFINE_GUID(CLSID_D2D1HueToRgb, 0x7b78a6bd, 0x0141, 0x4def, 0x8a, 0x52, 0x63, 0x56, 0xee, 0x0c, 0xbd, 0xd5); 28 DEFINE_GUID(CLSID_D2D1ChromaKey, 0x74C01F5B, 0x2A0D, 0x408C, 0x88, 0xE2, 0xC7, 0xA3, 0xC7, 0x19, 0x77, 0x42); 29 DEFINE_GUID(CLSID_D2D1Emboss, 0xb1c5eb2b, 0x0348, 0x43f0, 0x81, 0x07, 0x49, 0x57, 0xca, 0xcb, 0xa2, 0xae); 30 DEFINE_GUID(CLSID_D2D1Exposure, 0xb56c8cfa, 0xf634, 0x41ee, 0xbe, 0xe0, 0xff, 0xa6, 0x17, 0x10, 0x60, 0x04); 31 DEFINE_GUID(CLSID_D2D1Grayscale, 0x36DDE0EB, 0x3725, 0x42E0, 0x83, 0x6D, 0x52, 0xFB, 0x20, 0xAE, 0xE6, 0x44); 32 DEFINE_GUID(CLSID_D2D1Invert, 0xe0c3784d, 0xcb39, 0x4e84, 0xb6, 0xfd, 0x6b, 0x72, 0xf0, 0x81, 0x02, 0x63); 33 DEFINE_GUID(CLSID_D2D1Posterize, 0x2188945e, 0x33a3, 0x4366, 0xb7, 0xbc, 0x08, 0x6b, 0xd0, 0x2d, 0x08, 0x84); 34 DEFINE_GUID(CLSID_D2D1Sepia, 0x3a1af410, 0x5f1d, 0x4dbe, 0x84, 0xdf, 0x91, 0x5d, 0xa7, 0x9b, 0x71, 0x53); 35 DEFINE_GUID(CLSID_D2D1Sharpen, 0xC9B887CB, 0xC5FF, 0x4DC5, 0x97, 0x79, 0x27, 0x3D, 0xCF, 0x41, 0x7C, 0x7D); 36 DEFINE_GUID(CLSID_D2D1Straighten, 0x4da47b12, 0x79a3, 0x4fb0, 0x82, 0x37, 0xbb, 0xc3, 0xb2, 0xa4, 0xde, 0x08); 37 DEFINE_GUID(CLSID_D2D1TemperatureTint, 0x89176087, 0x8AF9, 0x4A08, 0xAE, 0xB1, 0x89, 0x5F, 0x38, 0xDB, 0x17, 0x66); 38 DEFINE_GUID(CLSID_D2D1Vignette, 0xc00c40be, 0x5e67, 0x4ca3, 0x95, 0xb4, 0xf4, 0xb0, 0x2c, 0x11, 0x51, 0x35); 39 DEFINE_GUID(CLSID_D2D1EdgeDetection, 0xEFF583CA, 0xCB07, 0x4AA9, 0xAC, 0x5D, 0x2C, 0xC4, 0x4C, 0x76, 0x46, 0x0F); 40 DEFINE_GUID(CLSID_D2D1HighlightsShadows, 0xCADC8384, 0x323F, 0x4C7E, 0xA3, 0x61, 0x2E, 0x2B, 0x24, 0xDF, 0x6E, 0xE4); 41 DEFINE_GUID(CLSID_D2D1LookupTable3D, 0x349E0EDA, 0x0088, 0x4A79, 0x9C, 0xA3, 0xC7, 0xE3, 0x00, 0x20, 0x20, 0x20); 42 43 #if NTDDI_VERSION >= NTDDI_WIN10_RS1 44 45 DEFINE_GUID(CLSID_D2D1Opacity, 0x811d79a4, 0xde28, 0x4454, 0x80, 0x94, 0xc6, 0x46, 0x85, 0xf8, 0xbd, 0x4c); 46 DEFINE_GUID(CLSID_D2D1AlphaMask, 0xc80ecff0, 0x3fd5, 0x4f05, 0x83, 0x28, 0xc5, 0xd1, 0x72, 0x4b, 0x4f, 0x0a); 47 DEFINE_GUID(CLSID_D2D1CrossFade, 0x12f575e8, 0x4db1, 0x485f, 0x9a, 0x84, 0x03, 0xa0, 0x7d, 0xd3, 0x82, 0x9f); 48 DEFINE_GUID(CLSID_D2D1Tint, 0x36312b17, 0xf7dd, 0x4014, 0x91, 0x5d, 0xff, 0xca, 0x76, 0x8c, 0xf2, 0x11); 49 50 #endif // #if NTDDI_VERSION >= NTDDI_WIN10_RS1 51 52 /// <summary> 53 /// The enumeration of the Contrast effect's top level properties. 54 /// </summary> 55 typedef enum D2D1_CONTRAST_PROP 56 { 57 58 /// <summary> 59 /// Property Name: "Contrast" 60 /// Property Type: FLOAT 61 /// </summary> 62 D2D1_CONTRAST_PROP_CONTRAST = 0, 63 64 /// <summary> 65 /// Property Name: "ClampInput" 66 /// Property Type: BOOL 67 /// </summary> 68 D2D1_CONTRAST_PROP_CLAMP_INPUT = 1, 69 D2D1_CONTRAST_PROP_FORCE_DWORD = 0xffffffff 70 71 } D2D1_CONTRAST_PROP; 72 73 /// <summary> 74 /// The enumeration of the RgbToHue effect's top level properties. 75 /// </summary> 76 typedef enum D2D1_RGBTOHUE_PROP 77 { 78 79 /// <summary> 80 /// Property Name: "OutputColorSpace" 81 /// Property Type: D2D1_RGBTOHUE_OUTPUT_COLOR_SPACE 82 /// </summary> 83 D2D1_RGBTOHUE_PROP_OUTPUT_COLOR_SPACE = 0, 84 D2D1_RGBTOHUE_PROP_FORCE_DWORD = 0xffffffff 85 86 } D2D1_RGBTOHUE_PROP; 87 88 typedef enum D2D1_RGBTOHUE_OUTPUT_COLOR_SPACE 89 { 90 D2D1_RGBTOHUE_OUTPUT_COLOR_SPACE_HUE_SATURATION_VALUE = 0, 91 D2D1_RGBTOHUE_OUTPUT_COLOR_SPACE_HUE_SATURATION_LIGHTNESS = 1, 92 D2D1_RGBTOHUE_OUTPUT_COLOR_SPACE_FORCE_DWORD = 0xffffffff 93 94 } D2D1_RGBTOHUE_OUTPUT_COLOR_SPACE; 95 96 /// <summary> 97 /// The enumeration of the HueToRgb effect's top level properties. 98 /// </summary> 99 typedef enum D2D1_HUETORGB_PROP 100 { 101 102 /// <summary> 103 /// Property Name: "InputColorSpace" 104 /// Property Type: D2D1_HUETORGB_INPUT_COLOR_SPACE 105 /// </summary> 106 D2D1_HUETORGB_PROP_INPUT_COLOR_SPACE = 0, 107 D2D1_HUETORGB_PROP_FORCE_DWORD = 0xffffffff 108 109 } D2D1_HUETORGB_PROP; 110 111 typedef enum D2D1_HUETORGB_INPUT_COLOR_SPACE 112 { 113 D2D1_HUETORGB_INPUT_COLOR_SPACE_HUE_SATURATION_VALUE = 0, 114 D2D1_HUETORGB_INPUT_COLOR_SPACE_HUE_SATURATION_LIGHTNESS = 1, 115 D2D1_HUETORGB_INPUT_COLOR_SPACE_FORCE_DWORD = 0xffffffff 116 117 } D2D1_HUETORGB_INPUT_COLOR_SPACE; 118 119 /// <summary> 120 /// The enumeration of the Chroma Key effect's top level properties. 121 /// </summary> 122 typedef enum D2D1_CHROMAKEY_PROP 123 { 124 125 /// <summary> 126 /// Property Name: "Color" 127 /// Property Type: D2D1_VECTOR_3F 128 /// </summary> 129 D2D1_CHROMAKEY_PROP_COLOR = 0, 130 131 /// <summary> 132 /// Property Name: "Tolerance" 133 /// Property Type: FLOAT 134 /// </summary> 135 D2D1_CHROMAKEY_PROP_TOLERANCE = 1, 136 137 /// <summary> 138 /// Property Name: "InvertAlpha" 139 /// Property Type: BOOL 140 /// </summary> 141 D2D1_CHROMAKEY_PROP_INVERT_ALPHA = 2, 142 143 /// <summary> 144 /// Property Name: "Feather" 145 /// Property Type: BOOL 146 /// </summary> 147 D2D1_CHROMAKEY_PROP_FEATHER = 3, 148 D2D1_CHROMAKEY_PROP_FORCE_DWORD = 0xffffffff 149 150 } D2D1_CHROMAKEY_PROP; 151 152 /// <summary> 153 /// The enumeration of the Emboss effect's top level properties. 154 /// </summary> 155 typedef enum D2D1_EMBOSS_PROP 156 { 157 158 /// <summary> 159 /// Property Name: "Height" 160 /// Property Type: FLOAT 161 /// </summary> 162 D2D1_EMBOSS_PROP_HEIGHT = 0, 163 164 /// <summary> 165 /// Property Name: "Direction" 166 /// Property Type: FLOAT 167 /// </summary> 168 D2D1_EMBOSS_PROP_DIRECTION = 1, 169 D2D1_EMBOSS_PROP_FORCE_DWORD = 0xffffffff 170 171 } D2D1_EMBOSS_PROP; 172 173 /// <summary> 174 /// The enumeration of the Exposure effect's top level properties. 175 /// </summary> 176 typedef enum D2D1_EXPOSURE_PROP 177 { 178 179 /// <summary> 180 /// Property Name: "ExposureValue" 181 /// Property Type: FLOAT 182 /// </summary> 183 D2D1_EXPOSURE_PROP_EXPOSURE_VALUE = 0, 184 D2D1_EXPOSURE_PROP_FORCE_DWORD = 0xffffffff 185 186 } D2D1_EXPOSURE_PROP; 187 188 /// <summary> 189 /// The enumeration of the Posterize effect's top level properties. 190 /// </summary> 191 typedef enum D2D1_POSTERIZE_PROP 192 { 193 194 /// <summary> 195 /// Property Name: "RedValueCount" 196 /// Property Type: UINT32 197 /// </summary> 198 D2D1_POSTERIZE_PROP_RED_VALUE_COUNT = 0, 199 200 /// <summary> 201 /// Property Name: "GreenValueCount" 202 /// Property Type: UINT32 203 /// </summary> 204 D2D1_POSTERIZE_PROP_GREEN_VALUE_COUNT = 1, 205 206 /// <summary> 207 /// Property Name: "BlueValueCount" 208 /// Property Type: UINT32 209 /// </summary> 210 D2D1_POSTERIZE_PROP_BLUE_VALUE_COUNT = 2, 211 D2D1_POSTERIZE_PROP_FORCE_DWORD = 0xffffffff 212 213 } D2D1_POSTERIZE_PROP; 214 215 /// <summary> 216 /// The enumeration of the Sepia effect's top level properties. 217 /// </summary> 218 typedef enum D2D1_SEPIA_PROP 219 { 220 221 /// <summary> 222 /// Property Name: "Intensity" 223 /// Property Type: FLOAT 224 /// </summary> 225 D2D1_SEPIA_PROP_INTENSITY = 0, 226 227 /// <summary> 228 /// Property Name: "AlphaMode" 229 /// Property Type: D2D1_ALPHA_MODE 230 /// </summary> 231 D2D1_SEPIA_PROP_ALPHA_MODE = 1, 232 D2D1_SEPIA_PROP_FORCE_DWORD = 0xffffffff 233 234 } D2D1_SEPIA_PROP; 235 236 /// <summary> 237 /// The enumeration of the Sharpen effect's top level properties. 238 /// </summary> 239 typedef enum D2D1_SHARPEN_PROP 240 { 241 242 /// <summary> 243 /// Property Name: "Sharpness" 244 /// Property Type: FLOAT 245 /// </summary> 246 D2D1_SHARPEN_PROP_SHARPNESS = 0, 247 248 /// <summary> 249 /// Property Name: "Threshold" 250 /// Property Type: FLOAT 251 /// </summary> 252 D2D1_SHARPEN_PROP_THRESHOLD = 1, 253 D2D1_SHARPEN_PROP_FORCE_DWORD = 0xffffffff 254 255 } D2D1_SHARPEN_PROP; 256 257 /// <summary> 258 /// The enumeration of the Straighten effect's top level properties. 259 /// </summary> 260 typedef enum D2D1_STRAIGHTEN_PROP 261 { 262 263 /// <summary> 264 /// Property Name: "Angle" 265 /// Property Type: FLOAT 266 /// </summary> 267 D2D1_STRAIGHTEN_PROP_ANGLE = 0, 268 269 /// <summary> 270 /// Property Name: "MaintainSize" 271 /// Property Type: BOOL 272 /// </summary> 273 D2D1_STRAIGHTEN_PROP_MAINTAIN_SIZE = 1, 274 275 /// <summary> 276 /// Property Name: "ScaleMode" 277 /// Property Type: D2D1_STRAIGHTEN_SCALE_MODE 278 /// </summary> 279 D2D1_STRAIGHTEN_PROP_SCALE_MODE = 2, 280 D2D1_STRAIGHTEN_PROP_FORCE_DWORD = 0xffffffff 281 282 } D2D1_STRAIGHTEN_PROP; 283 284 typedef enum D2D1_STRAIGHTEN_SCALE_MODE 285 { 286 D2D1_STRAIGHTEN_SCALE_MODE_NEAREST_NEIGHBOR = 0, 287 D2D1_STRAIGHTEN_SCALE_MODE_LINEAR = 1, 288 D2D1_STRAIGHTEN_SCALE_MODE_CUBIC = 2, 289 D2D1_STRAIGHTEN_SCALE_MODE_MULTI_SAMPLE_LINEAR = 3, 290 D2D1_STRAIGHTEN_SCALE_MODE_ANISOTROPIC = 4, 291 D2D1_STRAIGHTEN_SCALE_MODE_FORCE_DWORD = 0xffffffff 292 293 } D2D1_STRAIGHTEN_SCALE_MODE; 294 295 /// <summary> 296 /// The enumeration of the Temperature And Tint effect's top level properties. 297 /// </summary> 298 typedef enum D2D1_TEMPERATUREANDTINT_PROP 299 { 300 301 /// <summary> 302 /// Property Name: "Temperature" 303 /// Property Type: FLOAT 304 /// </summary> 305 D2D1_TEMPERATUREANDTINT_PROP_TEMPERATURE = 0, 306 307 /// <summary> 308 /// Property Name: "Tint" 309 /// Property Type: FLOAT 310 /// </summary> 311 D2D1_TEMPERATUREANDTINT_PROP_TINT = 1, 312 D2D1_TEMPERATUREANDTINT_PROP_FORCE_DWORD = 0xffffffff 313 314 } D2D1_TEMPERATUREANDTINT_PROP; 315 316 /// <summary> 317 /// The enumeration of the Vignette effect's top level properties. 318 /// </summary> 319 typedef enum D2D1_VIGNETTE_PROP 320 { 321 322 /// <summary> 323 /// Property Name: "Color" 324 /// Property Type: D2D1_VECTOR_4F 325 /// </summary> 326 D2D1_VIGNETTE_PROP_COLOR = 0, 327 328 /// <summary> 329 /// Property Name: "TransitionSize" 330 /// Property Type: FLOAT 331 /// </summary> 332 D2D1_VIGNETTE_PROP_TRANSITION_SIZE = 1, 333 334 /// <summary> 335 /// Property Name: "Strength" 336 /// Property Type: FLOAT 337 /// </summary> 338 D2D1_VIGNETTE_PROP_STRENGTH = 2, 339 D2D1_VIGNETTE_PROP_FORCE_DWORD = 0xffffffff 340 341 } D2D1_VIGNETTE_PROP; 342 343 /// <summary> 344 /// The enumeration of the Edge Detection effect's top level properties. 345 /// </summary> 346 typedef enum D2D1_EDGEDETECTION_PROP 347 { 348 349 /// <summary> 350 /// Property Name: "Strength" 351 /// Property Type: FLOAT 352 /// </summary> 353 D2D1_EDGEDETECTION_PROP_STRENGTH = 0, 354 355 /// <summary> 356 /// Property Name: "BlurRadius" 357 /// Property Type: FLOAT 358 /// </summary> 359 D2D1_EDGEDETECTION_PROP_BLUR_RADIUS = 1, 360 361 /// <summary> 362 /// Property Name: "Mode" 363 /// Property Type: D2D1_EDGEDETECTION_MODE 364 /// </summary> 365 D2D1_EDGEDETECTION_PROP_MODE = 2, 366 367 /// <summary> 368 /// Property Name: "OverlayEdges" 369 /// Property Type: BOOL 370 /// </summary> 371 D2D1_EDGEDETECTION_PROP_OVERLAY_EDGES = 3, 372 373 /// <summary> 374 /// Property Name: "AlphaMode" 375 /// Property Type: D2D1_ALPHA_MODE 376 /// </summary> 377 D2D1_EDGEDETECTION_PROP_ALPHA_MODE = 4, 378 D2D1_EDGEDETECTION_PROP_FORCE_DWORD = 0xffffffff 379 380 } D2D1_EDGEDETECTION_PROP; 381 382 typedef enum D2D1_EDGEDETECTION_MODE 383 { 384 D2D1_EDGEDETECTION_MODE_SOBEL = 0, 385 D2D1_EDGEDETECTION_MODE_PREWITT = 1, 386 D2D1_EDGEDETECTION_MODE_FORCE_DWORD = 0xffffffff 387 388 } D2D1_EDGEDETECTION_MODE; 389 390 /// <summary> 391 /// The enumeration of the Highlights and Shadows effect's top level properties. 392 /// </summary> 393 typedef enum D2D1_HIGHLIGHTSANDSHADOWS_PROP 394 { 395 396 /// <summary> 397 /// Property Name: "Highlights" 398 /// Property Type: FLOAT 399 /// </summary> 400 D2D1_HIGHLIGHTSANDSHADOWS_PROP_HIGHLIGHTS = 0, 401 402 /// <summary> 403 /// Property Name: "Shadows" 404 /// Property Type: FLOAT 405 /// </summary> 406 D2D1_HIGHLIGHTSANDSHADOWS_PROP_SHADOWS = 1, 407 408 /// <summary> 409 /// Property Name: "Clarity" 410 /// Property Type: FLOAT 411 /// </summary> 412 D2D1_HIGHLIGHTSANDSHADOWS_PROP_CLARITY = 2, 413 414 /// <summary> 415 /// Property Name: "InputGamma" 416 /// Property Type: D2D1_HIGHLIGHTSANDSHADOWS_INPUT_GAMMA 417 /// </summary> 418 D2D1_HIGHLIGHTSANDSHADOWS_PROP_INPUT_GAMMA = 3, 419 420 /// <summary> 421 /// Property Name: "MaskBlurRadius" 422 /// Property Type: FLOAT 423 /// </summary> 424 D2D1_HIGHLIGHTSANDSHADOWS_PROP_MASK_BLUR_RADIUS = 4, 425 D2D1_HIGHLIGHTSANDSHADOWS_PROP_FORCE_DWORD = 0xffffffff 426 427 } D2D1_HIGHLIGHTSANDSHADOWS_PROP; 428 429 typedef enum D2D1_HIGHLIGHTSANDSHADOWS_INPUT_GAMMA 430 { 431 D2D1_HIGHLIGHTSANDSHADOWS_INPUT_GAMMA_LINEAR = 0, 432 D2D1_HIGHLIGHTSANDSHADOWS_INPUT_GAMMA_SRGB = 1, 433 D2D1_HIGHLIGHTSANDSHADOWS_INPUT_GAMMA_FORCE_DWORD = 0xffffffff 434 435 } D2D1_HIGHLIGHTSANDSHADOWS_INPUT_GAMMA; 436 437 /// <summary> 438 /// The enumeration of the Lookup Table 3D effect's top level properties. 439 /// </summary> 440 typedef enum D2D1_LOOKUPTABLE3D_PROP 441 { 442 443 /// <summary> 444 /// Property Name: "Lut" 445 /// Property Type: IUnknown * 446 /// </summary> 447 D2D1_LOOKUPTABLE3D_PROP_LUT = 0, 448 449 /// <summary> 450 /// Property Name: "AlphaMode" 451 /// Property Type: D2D1_ALPHA_MODE 452 /// </summary> 453 D2D1_LOOKUPTABLE3D_PROP_ALPHA_MODE = 1, 454 D2D1_LOOKUPTABLE3D_PROP_FORCE_DWORD = 0xffffffff 455 456 } D2D1_LOOKUPTABLE3D_PROP; 457 458 #if NTDDI_VERSION >= NTDDI_WIN10_RS1 459 460 /// <summary> 461 /// The enumeration of the Opacity effect's top level properties. 462 /// </summary> 463 typedef enum D2D1_OPACITY_PROP 464 { 465 466 /// <summary> 467 /// Property Name: "Opacity" 468 /// Property Type: FLOAT 469 /// </summary> 470 D2D1_OPACITY_PROP_OPACITY = 0, 471 D2D1_OPACITY_PROP_FORCE_DWORD = 0xffffffff 472 473 } D2D1_OPACITY_PROP; 474 475 /// <summary> 476 /// The enumeration of the Cross Fade effect's top level properties. 477 /// </summary> 478 typedef enum D2D1_CROSSFADE_PROP 479 { 480 481 /// <summary> 482 /// Property Name: "Weight" 483 /// Property Type: FLOAT 484 /// </summary> 485 D2D1_CROSSFADE_PROP_WEIGHT = 0, 486 D2D1_CROSSFADE_PROP_FORCE_DWORD = 0xffffffff 487 488 } D2D1_CROSSFADE_PROP; 489 490 /// <summary> 491 /// The enumeration of the Tint effect's top level properties. 492 /// </summary> 493 typedef enum D2D1_TINT_PROP 494 { 495 496 /// <summary> 497 /// Property Name: "Color" 498 /// Property Type: D2D1_VECTOR_4F 499 /// </summary> 500 D2D1_TINT_PROP_COLOR = 0, 501 502 /// <summary> 503 /// Property Name: "ClampOutput" 504 /// Property Type: BOOL 505 /// </summary> 506 D2D1_TINT_PROP_CLAMP_OUTPUT = 1, 507 D2D1_TINT_PROP_FORCE_DWORD = 0xffffffff 508 509 } D2D1_TINT_PROP; 510 511 #endif // #if NTDDI_VERSION >= NTDDI_WIN10_RS1 512 513 /*#endif*/ /* WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_APP) */ 514 /*#pragma endregion*/ 515 516 #endif // #ifndef _D2D1_EFFECTS_2_ 517