Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Generate bindings for um/PropIdl and um/propvarutil #375

Merged
merged 1 commit into from
Dec 24, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 16 additions & 0 deletions TerraFX.Interop.Windows.sln
Original file line number Diff line number Diff line change
Expand Up @@ -3201,6 +3201,20 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "d3d9caps", "d3d9caps", "{6D
generation\DirectX\shared\d3d9caps\shared-d3d9caps.h = generation\DirectX\shared\d3d9caps\shared-d3d9caps.h
EndProjectSection
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "propvarutil", "propvarutil", "{AC2FBDD1-6B86-4F80-A8C5-17130D9B4A73}"
ProjectSection(SolutionItems) = preProject
generation\Windows\um\propvarutil\generate.rsp = generation\Windows\um\propvarutil\generate.rsp
generation\Windows\um\propvarutil\header.txt = generation\Windows\um\propvarutil\header.txt
generation\Windows\um\propvarutil\um-propvarutil.h = generation\Windows\um\propvarutil\um-propvarutil.h
EndProjectSection
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "PropIdl", "PropIdl", "{7305CE91-7BD6-4BBE-BBF6-D64B0254E755}"
ProjectSection(SolutionItems) = preProject
generation\Windows\um\PropIdl\generate.rsp = generation\Windows\um\PropIdl\generate.rsp
generation\Windows\um\PropIdl\header.txt = generation\Windows\um\PropIdl\header.txt
generation\Windows\um\PropIdl\um-PropIdl.h = generation\Windows\um\PropIdl\um-PropIdl.h
EndProjectSection
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
Expand Down Expand Up @@ -3693,6 +3707,8 @@ Global
{7C6D428E-BCEA-4E3E-8B1D-708DF46493CD} = {1DA11388-02AD-43F4-B67B-2CA69F60B1C7}
{02E82ECB-A7AD-4AC8-85A2-48B3967DC6E3} = {1DA11388-02AD-43F4-B67B-2CA69F60B1C7}
{6DE29036-2A24-476F-8C1A-23FD05A2EC34} = {1DA11388-02AD-43F4-B67B-2CA69F60B1C7}
{AC2FBDD1-6B86-4F80-A8C5-17130D9B4A73} = {67311E5E-FA9C-43A6-B431-9EF10047A0CE}
{7305CE91-7BD6-4BBE-BBF6-D64B0254E755} = {67311E5E-FA9C-43A6-B431-9EF10047A0CE}
EndGlobalSection
GlobalSection(ExtensibilityGlobals) = postSolution
SolutionGuid = {2FE36DF8-2D9C-4F20-8787-45DC74B57461}
Expand Down
24 changes: 24 additions & 0 deletions generation/Windows/um/PropIdl/generate.rsp
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
@../../../settings.rsp
@../../../remap.rsp
--exclude
FreePropVariantArray
PropVariantClear
PropVariantCopy
--file
um-PropIdl.h
--methodClassName
Windows
--namespace
TerraFX.Interop.Windows
--output
../../../../sources/Interop/Windows/Windows/um/PropIdl
--test-output
../../../../tests/Interop/Windows/Windows/um/PropIdl
--traverse
C:/Program Files (x86)/Windows Kits/10/Include/10.0.22621.0/um/PropIdl.h
--with-librarypath
FreePropVariantArray=ole32
PropVariantClear=ole32
PropVariantCopy=ole32
StgConvertPropertyToVariant=ole32
StgConvertVariantToProperty=ole32
4 changes: 4 additions & 0 deletions generation/Windows/um/PropIdl/header.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information.

// Ported from um/PropIdl.h in the Windows SDK for Windows 10.0.22621.0
// Original source is Copyright © Microsoft. All rights reserved.
2 changes: 2 additions & 0 deletions generation/Windows/um/PropIdl/um-PropIdl.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
#include "..\..\..\TerraFX.h"
#include <PropIdl.h>
215 changes: 215 additions & 0 deletions generation/Windows/um/propvarutil/generate.rsp
Original file line number Diff line number Diff line change
@@ -0,0 +1,215 @@
@../../../settings.rsp
@../../../remap.rsp
--exclude
InitPropVariantFromBoolean
InitPropVariantFromDouble
InitPropVariantFromGUIDAsBuffer
InitPropVariantFromInt16
InitPropVariantFromInt32
InitPropVariantFromInt64
InitPropVariantFromString
InitPropVariantFromUInt16
InitPropVariantFromUInt32
InitPropVariantFromUInt64
InitVariantFromBoolean
InitVariantFromDispatch
InitVariantFromDosDateTime
InitVariantFromDouble
InitVariantFromGUIDAsBuffer
InitVariantFromInt16
InitVariantFromInt32
InitVariantFromInt64
InitVariantFromString
InitVariantFromUInt16
InitVariantFromUInt32
InitVariantFromUInt64
InitVariantFromUnknown
IsPropVariantString
IsPropVariantVector
IsVariantArray
IsVariantString
IsVarTypeFloat
IsVarTypeInteger
IsVarTypeNumber
IsVarTypeSignedInteger
IsVarTypeUnsignedInteger
PropVariantCompare
PropVariantGetElem
PropVariantToCLSID
PropVariantToInt32
PropVariantToUInt32
PSSTDAPI_
VariantGetElem
VariantToInt32
VariantToUInt32
--file
um-propvarutil.h
--methodClassName
Windows
--namespace
TerraFX.Interop.Windows
--output
../../../../sources/Interop/Windows/Windows/um/propvarutil
--test-output
../../../../tests/Interop/Windows/Windows/um/propvarutil
--traverse
C:/Program Files (x86)/Windows Kits/10/Include/10.0.22621.0/um/propvarutil.h
--with-attribute
DRAWPROGRESSFLAGS=Flags
tagPROPVAR_CHANGE_FLAGS=Flags
tagPROPVAR_COMPARE_FLAGS=Flags
tagPSTIME_FLAGS=Flags
--with-librarypath
ClearPropVariantArray=propsys
ClearVariantArray=propsys
InitPropVariantFromBooleanVector=propsys
InitPropVariantFromBuffer=propsys
InitPropVariantFromCLSID=propsys
InitPropVariantFromDoubleVector=propsys
InitPropVariantFromFileTime=propsys
InitPropVariantFromFileTimeVector=propsys
InitPropVariantFromGUIDAsString=propsys
InitPropVariantFromInt16Vector=propsys
InitPropVariantFromInt32Vector=propsys
InitPropVariantFromInt64Vector=propsys
InitPropVariantFromPropVariantVectorElem=propsys
InitPropVariantFromResource=propsys
InitPropVariantFromStringAsVector=propsys
InitPropVariantFromStringVector=propsys
InitPropVariantFromStrRet=propsys
InitPropVariantFromUInt16Vector=propsys
InitPropVariantFromUInt32=propsys
InitPropVariantFromUInt32Vector=propsys
InitPropVariantFromUInt64Vector=propsys
InitPropVariantVectorFromPropVariant=propsys
InitVariantFromBooleanArray=propsys
InitVariantFromBuffer=propsys
InitVariantFromDoubleArray=propsys
InitVariantFromFileTime=propsys
InitVariantFromFileTimeArray=propsys
InitVariantFromGUIDAsString=propsys
InitVariantFromInt16Array=propsys
InitVariantFromInt32Array=propsys
InitVariantFromInt64Array=propsys
InitVariantFromResource=propsys
InitVariantFromString=propsys
InitVariantFromStringArray=propsys
InitVariantFromStrRet=propsys
InitVariantFromUInt16Array=propsys
InitVariantFromUInt32Array=propsys
InitVariantFromUInt64Array=propsys
InitVariantFromVariantArrayElem=propsys
PropVariantChangeType=propsys
PropVariantCompareEx=propsys
PropVariantGetBooleanElem=propsys
PropVariantGetDoubleElem=propsys
PropVariantGetElementCount=propsys
PropVariantGetFileTimeElem=propsys
PropVariantGetInt16Elem=propsys
PropVariantGetInt32Elem=propsys
PropVariantGetInt64Elem=propsys
PropVariantGetStringElem=propsys
PropVariantGetUInt16Elem=propsys
PropVariantGetUInt32Elem=propsys
PropVariantGetUInt64Elem=propsys
PropVariantToBoolean=propsys
PropVariantToBooleanVector=propsys
PropVariantToBooleanVectorAlloc=propsys
PropVariantToBooleanWithDefault=propsys
PropVariantToBSTR=propsys
PropVariantToBuffer=propsys
PropVariantToDouble=propsys
PropVariantToDoubleVector=propsys
PropVariantToDoubleVectorAlloc=propsys
PropVariantToDoubleWithDefault=propsys
PropVariantToFileTime=propsys
PropVariantToFileTimeVector=propsys
PropVariantToFileTimeVectorAlloc=propsys
PropVariantToGUID=propsys
PropVariantToInt16=propsys
PropVariantToInt16Vector=propsys
PropVariantToInt16VectorAlloc=propsys
PropVariantToInt16WithDefault=propsys
PropVariantToInt32=propsys
PropVariantToInt32Vector=propsys
PropVariantToInt32VectorAlloc=propsys
PropVariantToInt32WithDefault=propsys
PropVariantToInt64=propsys
PropVariantToInt64Vector=propsys
PropVariantToInt64VectorAlloc=propsys
PropVariantToInt64WithDefault=propsys
PropVariantToString=propsys
PropVariantToStringAlloc=propsys
PropVariantToStringVector=propsys
PropVariantToStringVectorAlloc=propsys
PropVariantToStringWithDefault=propsys
PropVariantToStrRet=propsys
PropVariantToUInt16=propsys
PropVariantToUInt16Vector=propsys
PropVariantToUInt16VectorAlloc=propsys
PropVariantToUInt16WithDefault=propsys
PropVariantToUInt32=propsys
PropVariantToUInt32Vector=propsys
PropVariantToUInt32VectorAlloc=propsys
PropVariantToUInt32WithDefault=propsys
PropVariantToUInt64=propsys
PropVariantToUInt64Vector=propsys
PropVariantToUInt64VectorAlloc=propsys
PropVariantToUInt64WithDefault=propsys
PropVariantToVariant=propsys
StgDeserializePropVariant=propsys.dll
StgSerializePropVariant=propsys.dll
VariantCompare=propsys
VariantGetBooleanElem=propsys
VariantGetDoubleElem=propsys
VariantGetElementCount=propsys
VariantGetInt16Elem=propsys
VariantGetInt32Elem=propsys
VariantGetInt64Elem=propsys
VariantGetStringElem=propsys
VariantGetUInt16Elem=propsys
VariantGetUInt32Elem=propsys
VariantGetUInt64Elem=propsys
VariantToBoolean=propsys
VariantToBooleanArray=propsys
VariantToBooleanArrayAlloc=propsys
VariantToBooleanWithDefault=propsys
VariantToBuffer=propsys
VariantToDosDateTime=propsys
VariantToDouble=propsys
VariantToDoubleArray=propsys
VariantToDoubleArrayAlloc=propsys
VariantToDoubleWithDefault=propsys
VariantToFileTime=propsys
VariantToGUID=propsys
VariantToInt16=propsys
VariantToInt16Array=propsys
VariantToInt16ArrayAlloc=propsys
VariantToInt16WithDefault=propsys
VariantToInt32=propsys
VariantToInt32Array=propsys
VariantToInt32ArrayAlloc=propsys
VariantToInt32WithDefault=propsys
VariantToInt64=propsys
VariantToInt64Array=propsys
VariantToInt64ArrayAlloc=propsys
VariantToInt64WithDefault=propsys
VariantToPropVariant=propsys
VariantToString=propsys
VariantToStringAlloc=propsys
VariantToStringArray=propsys
VariantToStringArrayAlloc=propsys
VariantToStringWithDefault=propsys
VariantToStrRet=propsys
VariantToUInt16=propsys
VariantToUInt16Array=propsys
VariantToUInt16ArrayAlloc=propsys
VariantToUInt16WithDefault=propsys
VariantToUInt32=propsys
VariantToUInt32Array=propsys
VariantToUInt32ArrayAlloc=propsys
VariantToUInt32WithDefault=propsys
VariantToUInt64=propsys
VariantToUInt64Array=propsys
VariantToUInt64ArrayAlloc=propsys
VariantToUInt64WithDefault=propsys
4 changes: 4 additions & 0 deletions generation/Windows/um/propvarutil/header.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information.

// Ported from um/propvarutil.h in the Windows SDK for Windows 10.0.22621.0
// Original source is Copyright © Microsoft. All rights reserved.
2 changes: 2 additions & 0 deletions generation/Windows/um/propvarutil/um-propvarutil.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
#include "..\..\..\TerraFX.h"
#include <propvarutil.h>
1 change: 1 addition & 0 deletions generation/remap-handles.rsp
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ KNONVOLATILE_CONTEXT_POINTERS*=@void*
LDT_ENTRY*=@void*
PCONTEXT=@void*
PIMAGE_NT_HEADERS=@void*
PMemoryAllocator*=@void*
PMINIDUMP_CALLBACK_INFORMATION=@void*
PROC=@IntPtr
SERIALIZEDPROPSTORAGE*=@PCUSERIALIZEDPROPSTORAGE
Expand Down
3 changes: 3 additions & 0 deletions generation/remap-types.rsp
Original file line number Diff line number Diff line change
Expand Up @@ -1077,8 +1077,11 @@ tagPROPPAGEINFO=PROPPAGEINFO
tagPROPPAGESTATUS=PROPPAGESTATUS
tagPROPSPEC=PROPSPEC
tagPROPVARIANT=PROPVARIANT
tagPROPVAR_CHANGE_FLAGS=@PROPVAR_CHANGE_FLAGS
tagPROPVAR_COMPARE_FLAGS=@PROPVAR_COMPARE_FLAGS
tagPSDA=PAGESETUPDLGA
tagPSDW=PAGESETUPDLGW
tagPSTIME_FLAGS=@PSTIME_FLAGS
tagQACONTAINER=QACONTAINER
tagQACONTAINERFLAGS=QACONTAINERFLAGS
tagQACONTROL=QACONTROL
Expand Down
Loading