包含它们的 Windows SDK 的前几行d2d1.h
(例如标记为 v7.1 的那一行)如下:
//---------------------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All rights reserved.
//
// This file is automatically generated. Please do not edit it directly.
//
// File name: D2D1.h
//---------------------------------------------------------------------------
这表明某处应该有一些源文件。它是否像许多 IDL 文件一样包含在 SDK 中?我找不到任何类似的东西。