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

1149 Коммитов

Автор 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 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
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
Rafael Rivera 527806d20d
Add additional BCrypt APIs (#1997) 2024-09-13 13:06:56 -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
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
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
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
Rafael Rivera c2e95595fe
Remap ICU APIs to forwarders where possible (#1958) 2024-08-15 09:08:59 -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
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 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 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
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