Граф коммитов

1952 Коммитов

Автор SHA1 Сообщение Дата
Mike Battista 97db7a1a02 Fixed namespace for #1964. 2024-11-15 10:42:21 -05:00
Mike Battista 6d6617a8ee Updated to 10.0.26100.2161 SDK. Held back WinHv* headers due to unsupported arch-specific enums and references. 2024-11-15 10:31:34 -05:00
Mike Battista 493a9d461c Added notes on the ADO Artifact Feed. 2024-11-13 16:02:59 -05:00
Mike Battista dc779ae7b4 Update DEVPROPKEY and PROPERTYKEY namespaces in ConstantsScraper.header.txt. Fixed #2021. 2024-11-12 15:41:21 -05:00
Mike Battista 9a50ecec9d Updated to v64. 2024-11-12 13:00:45 -05:00
Rafael Rivera 66962fb1d0
Add additional device partitions (#2019) 2024-11-11 16:07:52 -05:00
Mike Battista 5c95f736c3 WINTRUST_SIGNATURE_SETTINGS_FLAGS should be a flagged enum. Fixed #2008. 2024-11-11 12:54:54 -05:00
Mike Battista bdab0cff71 Added enum for https://github.com/microsoft/wdkmetadata/issues/73. 2024-11-08 12:42:37 -05:00
Mike Battista dd4e0d90bf More Retained functions. Fixed #1994. 2024-11-07 19:04:58 -05:00
Mike Battista da0f14974b CopyFile* constants should be in the Windows.Win32.Storage.FileSystem namespace. Fixed #2004. 2024-11-07 18:36:01 -05:00
Mike Battista a2fdc0ac35 IExplorerCommand: Methods could return flag type instead of u32 and flag types should be marked as flags. Fixed #2007. 2024-11-07 17:40:12 -05:00
Mike Battista 3352e2ee70 Support for enum types in CreateFont method instead of casting to uint. Fixed #2009. 2024-11-07 17:23:42 -05:00
Mike Battista 23b7f2345a CRYPTCATATTRIBUTE can use a flagged enum. Fixed #2010. 2024-11-07 16:48:11 -05:00
Phil Nachreiner ad63444f66
Apply same NuGetConfigFile change as wdkmetadata to pipeline yaml (#2017) 2024-11-07 13:55:33 -05:00
Mike Battista 2e99544730 IContextMenu::QueryContextMenu returns multiple success values. Fixed #2011. 2024-11-07 11:25:30 -05:00
Phil Nachreiner e96b94f8d7
Update Install-DotNetTool.ps1 to use repos NuGet.config (#2013)
* Updates to point Dotnet update at NuGet.config

* Add NuGetConfigFile to MetadataTasks ScrapeHeaders

* switch to URL vs. nuget.config file copy

* make sure to delete the generated nuget.config file

* Update contribute guide with information on how to override the NuGetPackageSource for ClangSharp

* Revert change
2024-11-04 07:21:24 -05:00
Phil Nachreiner 35d6cb24f7
Address dependabot alerts about MessagePack NuGet package (#2012)
* Update MessagePack to latest stable release

* Add a dependbot configuration file for automatic security update PR's
2024-10-30 15:58:07 -04:00
Rafael Rivera 527806d20d
Add additional BCrypt APIs (#1997) 2024-09-13 13:06:56 -07:00
getrou c6163c7e1d
Move win32metadaata onto a more secure nuget feed (#1995)
* Change nuget feed to Win32Metadata-Dependencies

* Add verbose nuget restore

* Explicit install-buildtools, print tools directory

* Fix formatting

* Fix script path

* Fix script path

* Dump tools directory

* More logging

* Revert to minimal set of changes required
2024-09-12 16:45:10 -07:00
Mike Battista 2a878cf3f0 Fixed broken merge of #1980. 2024-09-09 10:47:00 -07:00
Rafael Rivera f1f2cdaa8b
Correct GdiPlus Bitmap, Image documentation links (#1979)
Co-authored-by: Mike Battista <13860912+mikebattista@users.noreply.github.com>
2024-09-09 10:32:54 -07:00
Rafael Rivera 215bcaece5
Correct AviStream documentation links (#1977)
Co-authored-by: Mike Battista <13860912+mikebattista@users.noreply.github.com>
2024-09-09 10:31:39 -07:00
Marijn Suijten ef51ef976e
Revert `[RetVal]` annotation for multi-output `DCompositionGetStatistics()` (#1980)
This function returns multiple values via multiple mutable pointer
arguments, besides the annotated `frameStats` parameter not being the
last parameter.

Revert it because it has no effect on `windows-rs` and could even
break in the future, because it's not intended to be used this way.

Co-authored-by: Mike Battista <13860912+mikebattista@users.noreply.github.com>
2024-09-09 09:58:21 -07:00
Marijn Suijten f40da63aac
Annotate _input_ length of `DCompositionGetStatistics::targetIds` (#1993)
Upstream SAL typo'd this in `_Out_writes_opt_` as `targetCount` instead
of `targetIdCount`.

Note that `actualTargetIdCount` will be set to describe how many target
ids are available or were actually written, whereas `targetIdCount` is
just a maximum number of available items to query in `targetIds`.
2024-09-09 09:54:05 -07:00
Rafael Rivera 6dbe97cbe6
Add PRINTER_HANDLE type (#1987)
Co-authored-by: Mike Battista <13860912+mikebattista@users.noreply.github.com>
2024-09-03 09:11:15 -07:00
Rafael Rivera 5c94c978b1
Remove RAIIFree attribute from PSID (#1988) 2024-08-30 13:08:01 -07:00
Rafael Rivera aea7ccf3cb
Remove StructSizeField from BLOB, BSTRBLOB (#1978) 2024-08-29 08:25:22 -07:00
Mike Battista d6fe8273c5 It would be nice to have an impl From<DEVPROPKEY> for PROPERTYKEY. Fixed #1922. 2024-08-28 17:08:02 -07:00
Rafael Rivera 17452d6819
Correct PMPRADMINCONNECTIONHANGUPNOTIFICATION3 parameter 4 (#1976) 2024-08-28 15:27:22 -07:00
Rafael Rivera 6c1898d948
Add NET_IF_COMPARTMENT_ID typedef and constants (#1974)
* Add NET_IF_COMPARTMENT_ID typedef

* Add constants
2024-08-28 13:15:46 -07:00
Rafael Rivera ba2e258862
Add QueryOptionalDelayLoadedAPI (#1975) 2024-08-28 12:57:56 -07:00
getrou f1d266e955
Fix error where pipeline name ending in a '.' would cause the PR pipeline to fail (#1969)
* Add protection for edge cases where the pipeline version/name is not formatted correctly

* Fix powershell syntax

* Another fix to the powershell script to set the pipeline name

* Another fix to the powershell script to set the pipeline name
2024-08-28 07:58:38 -07:00
Marijn Suijten ab7c817731
Mark `ID3D12GraphicsCommandList::ClearDepthStencilView` `pRects` as `Optional` (#1971)
In #1453 `ClearRenderTargetView()`'s `pRect` slice was requested to
be marked as optional, but its `ClearDepthStencilView()` sibling was
completely glossed over.  Mark it `Optional` as well as a `NULL` pointer
is expected to clear the entire resource view.  A non-`NULL` pointer
with a length of `0` might not clear anything at all.
2024-08-27 13:07:12 -07:00
Mike Battista 2355fd2701 Merge branch 'main' of https://github.com/microsoft/win32metadata 2024-08-27 12:59:51 -07:00
Mike Battista dc1d23ef8b Updated setup instructions with winget configure. 2024-08-27 12:59:37 -07:00
Marijn Suijten 4a93b089ea
Annotate missing `ComOutPtr` in `CompositionSwapchain` and `DirectComposition` (#1970)
`dcomp.h` and `Presentation.h` are missing some `_COM_Outptr_`
annotations, turning these functions in `windows-rs` to take a
meaningless `*mut *mut c_void`.  With this annotation the functions
return a generic `T: Interface` _and_ automatically pass its `&T::IID`
to the `riid` parameter resulting in a much more ergonomic API.

Also annotate some return-only functions with `RetVal` to make it easier
to retrieve these objects.
2024-08-27 12:51:16 -07:00
Mike Battista 9b3452658b Updated to v63. 2024-08-26 14:29:14 -07:00
getrou e012b29924
Disable submodules where not needed and add pipeline message for PR builds (#1967)
* Print out some ngbv variables to try to get the preview version

* Add PR branch string to pipeline version, wrap printouts in quotes

* Fix conditionals for PR Branch parameter

* Fix PRBranch variable name

* Experimenting with not checking out submodules for some jobs

* Fix Submodules boolean type

* explicitly disable submodules

* Change to environment vars

* Print json data from nbgv

* Set pipeline version to CloudBuildNumber

* Remove PipelineType for win32docs

* Fix pr branch name

* Print jsonString

* More changes to pipeline message

* Fix quotes powershell script

* Use version number that includes prerelease for PR pipeline runs

* Fix up task variable setting
2024-08-23 14:21:36 -07:00
Mike Battista 185c3ef016 wincrypt.h metadata issues. Fixed #1963. 2024-08-20 15:21:53 -07:00
Mike Battista c0731286db Safe version of the EnumProcessModulesEx function seems to be incorrect. Fixed #1945. 2024-08-20 14:56:05 -07:00
Mike Battista df7c564cab Missing CryptCATCDFEnumMembersByCDFTagEx and CryptCATCDFEnumAttributesWithCDFTag. Fixed #1950. 2024-08-20 12:18:55 -07:00
Mike Battista ff991cf3d9 Create a new type to handle Pdh* functions. Fixed #1962. 2024-08-20 12:01:52 -07:00
Mike Battista a133cf4399 Move FILE_CASE_SENSITIVE_INFO to Windows.Win32.Storage.FileSystem. Fixed #1943. 2024-08-20 10:52:03 -07:00
Mike Battista 3fabe4d273 MFCreateAttributes is missing ComOutPtr. Fixed #1955. 2024-08-20 10:16:22 -07:00
Mike Battista 47fbe2ee3b WSASetEvent and WSAResetEvent should take a WSAEVENT instead of a HANDLE. Fixed #1960. 2024-08-16 16:50:06 -07:00
Halil Durmus fbafc2a152
Update README.md (#1951)
* Update README.md

* Update projections.md
2024-08-15 09:11:05 -07:00
Rafael Rivera c2e95595fe
Remap ICU APIs to forwarders where possible (#1958) 2024-08-15 09:08:59 -07:00
getrou 6b1898ea22
Remove commit name from pipeline build number (#1959)
* Format commit message when setting pipeline name

* Remove commit message from pipeline build number

* Fix commit ID saving
2024-08-15 09:08:06 -07:00
getrou 03284cf857
Move Azure build pipelines to OneBranch (#1877)
* Add OneBranch test template

* Added job matrix to Onebranch pipeline

* Moved .pipelines folder to AzurePipelinesTemplates

* Removing template to debug

* Fixing indentation

* Added build_winmd stage to win32metadata-onebranch

* Remove build_winmd job dependency since it is now a stage dependency

* Change how arch variable is referenced

* Use checkout template instead of old checkout method

* Update from BatchScript task to CmdLine taks

* checkout recursive submodules

* Don't move repo after cloning

* Add repo directory to script paths

* Add win32docs onebranch yaml script

* Trying a windows agent pool for win32docs

* testing if forward slashes are interferring with ADO task

* Debug printing for scraping cs files

* rebasing to main

* Fix backslashes to forward slashes

* Using a linux agent to match existing pipeline

* Use custom linux agent

* Update working directory for dotnet build

* Change working directory for linux agent

* Add scrapeconstants flag to x86 build

* Add print debugging for DiaSdk

* Add more print debugging to see what is happening in diasdk

* Use built-in dotnet pack ADO task

* change parameter for dotnet pack command

* Set working directory for dotnet pack

* Change how VS cmd is initialized

* Move VsDevCmd to powershell and test in subsequent task

* Try VsDevCmd in same task

* Install build tools for DoPackages.ps1

* Remove extra steps in DoPackages.ps1

* Install tools for other tasks as well

* Add required compiler and linker flags for compliance

* Testing pipeline trigger

* Re-enable signing, copy output to artifact staging directory

* Move from ESRP signing to OneBranch signing

* Add OfficialBuild flag to template

* Move win32docs over to OneBranch signing

* Add more files and consolidate onebranch signing for win32metadata

* delimiter for files to sign

* Move docs back to onebranch agent

* Move docs back to onebranch agent, fix docs targets file

* Specify solution file in apidocs folder

* More signing tweaks

* Fix build and pack scripts for docs

* Add signing for apidocs dll

* Remove cp_code from signing tasks

* Add nobuild to pack operation so we don't overwrite the signed binaries

* Specify binaries to sign

* Add --no-build to packages.proj pack operation

* Add debug printing and disable building project references

* Restore before packing in DoPackages.ps1

* Sign binaries that were hiding in obj and getting restored over top of other signed binaries

* More signing tweaks

* Skip install tools, which were regenerating dlls

* Force install tools in DoPackages

* Install tools on subsequent tasks

* Reduce signing to only necessary files

* Fix signing path

* Add unsigned dlls to onebranch codesign exceptions

* Removed old commented out tasks

* Revert Dia nuspec, which was an unintended change

* Add longpath option to checkout step

* Revert "Add longpath option to checkout step"

This reverts commit 063dfba113.

* Enable git long file paths via script

* Try setting global longpath instead of system

* Change repo directory name to work around git longpath issue

* Add repodirectory parameter to BuildWinMD checkout task

* Shorten win32docs repo directory name

* Try to extract version information out of nbgv since it can not set the pipeline name

* Change nbgv working directory to win32metadata repo

* Fix pwsh input syntax

* Set pipeline name to build number, added more debug printing

* Set pipeline build number

* Change working directory for pipeline name task

* Remove debug printing

* Save source commit for use by release pipeline

* Fix path for saving source commit

* Move source commit hash to end of job

* elevate commitId variable to a pipeline variable

* Fix formatting for commit id

* Change how nuget packages are copied to apidocs artifact staging directory

* Specify source folder for apidoc file published files

* Empty commit to test pipeline trigger
2024-07-23 14:58:45 -07:00
Mike Battista f1c1df8f77 Added PowerShell. Removed VS Code as it is optional. 2024-07-09 11:16:06 -07:00