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

1927 Коммитов

Автор SHA1 Сообщение Дата
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
Rafael Rivera e8629a25b7
Add attribute on IPropertyStoreCapabilities::IsPropertyWritable (#1942)
* Add attribute on IPropertyStoreCapabilities::IsPropertyWritable

* Remove optional attribute suffix
2024-07-08 09:36:56 -07:00
Mike Battista 04d03e29b4 Added partition files. 2024-07-03 10:04:08 -07:00
Mike Battista aea2317c5a Added Nfc and Nfp partitions. Fixed #1938. 2024-07-02 22:13:36 -07:00
Mike Battista 64837da0c8 EventRegister returns handle wrong type. Fixed #1940. 2024-07-02 15:32:49 -07:00
Mike Battista 152142b666 Updated descriptions. 2024-07-01 15:23:49 -07:00
Mike Battista 0290d73216 Added winget configure file. 2024-07-01 12:49:22 -07:00
Mike Battista f712064083 DISPLAY_DEVICE can use flagged enum. Fixed #1939. 2024-07-01 10:19:29 -07:00
Mike Battista 7e40c09c22 CERT_CHAIN_POLICY_FLAGS missing flags attribute. Fixed #1937. 2024-06-25 13:02:46 -07:00
Mike Battista 6e20fa56ca LoadIconWithScaleDown: hinst parameted can be NULL. Fixed #1932. 2024-06-20 14:45:50 -07:00
Mike Battista 948286f7c0 Updated to v62. 2024-06-17 16:51:46 -07:00
Mike Battista c2b7ea95b5 NCRYPT_SSL_FUNCTION_TABLE/SslGetCipherSuitePRFHashAlgorithmFn doesn't exist. Fixed #1925. 2024-06-14 12:02:30 -07:00
Mike Battista eebd555d14 WinSock missing a few constants. Fixed #1785. 2024-06-13 14:57:19 -07:00
Mike Battista b4dfd2f25c Emit handles as void* not IntPtr. Fixed #1924. 2024-06-13 13:01:19 -07:00
Mike Battista f8a65c0364 Added DEVICE_POWER_CAPABILITIES enum for https://github.com/microsoft/wdkmetadata/issues/61. 2024-06-06 19:45:31 -07:00
Daniel Paoliello fe684c6507
Fix test failures (#1921) 2024-06-06 10:05:25 -07:00
Daniel Paoliello 19ceee6047
When finding a type def from a type ref, search all assemblies (#1919) 2024-06-04 11:34:15 -07:00
Rafael Rivera 8c02061909
Add Cryptographic Provider Development Kit APIs, types (#1915)
* Add Cryptographic Provider Development Kit APIs, types

* Add CPDK headers to AdditionHeaders for recompilation

* Move CPDK headers
2024-05-30 08:52:01 -07:00
Rafael Rivera 8d678c59bf
Remove errant BCRYPT_HANDLE RAII attribute (#1916) 2024-05-29 07:10:25 -07:00
Marijn Suijten fbb0102b96
Upgrade D3D12 Agility SDK to 1.614.0 (#1910)
* Upgrade D3D12 Agility SDK to 1.613.3

* Upgrade D3D12 Agility SDK to 1.614.0
2024-05-28 13:10:23 -07:00
Rafael Rivera 056f536c3a
Make GDI+ private types opaque (#1904)
* Make GDI+ private types opaque

* Add missing semi-colons

---------

Co-authored-by: Mike Battista <13860912+mikebattista@users.noreply.github.com>
2024-05-10 12:08:25 -07:00
Rafael Rivera 3b1598ec39
Add global resource flag GR_GLOBAL (#1903)
Co-authored-by: Mike Battista <13860912+mikebattista@users.noreply.github.com>
2024-05-10 08:57:38 -07:00
Rafael Rivera e5b90f6dfd
Add missing resource type constants (#1902) 2024-05-10 08:56:32 -07:00
Rafael Rivera 13ba2aed65
Add missing lang/locale default constants (#1901)
* Add missing lang/locale default constants

* Correct LCID types

---------

Co-authored-by: Mike Battista <13860912+mikebattista@users.noreply.github.com>
2024-05-09 16:28:43 -07:00
Rafael Rivera 4bfe1f1999
Remove incomplete metadata for ScriptStringAnalyse (#1900) 2024-05-09 16:27:35 -07:00
Mike Battista 0f58a9e749 Updated to v61. 2024-05-08 08:19:23 -07:00