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`.
This commit is contained in:
Родитель
6dbe97cbe6
Коммит
f40da63aac
|
@ -987,6 +987,7 @@ DCompositionCreateDevice::dcompositionDevice=[ComOutPtr]
|
|||
DCompositionCreateDevice2::dcompositionDevice=[ComOutPtr]
|
||||
DCompositionCreateDevice3::dcompositionDevice=[ComOutPtr]
|
||||
DCompositionGetStatistics::frameStats=[RetVal]
|
||||
DCompositionGetStatistics::targetIds=[NativeArrayInfo(CountFieldName = "targetIdCount")]
|
||||
DCompositionGetTargetStatistics::targetStats=[RetVal]
|
||||
CreatePresentationFactory::presentationFactory=[ComOutPtr]
|
||||
IPresentationManager::GetPresentRetiringFence::fence=[ComOutPtr]
|
||||
|
|
|
@ -2700,3 +2700,5 @@ Windows.Win32.Graphics.Printing.IPrintTicketProvider.GetSupportedVersions : hPri
|
|||
Windows.Win32.Graphics.Printing.PRINTER_HANDLE added
|
||||
# Remove RAIIFree attribute from PSID
|
||||
Windows.Win32.Security.PSID : [NativeTypedef,RAIIFree(FreeSid)] => [NativeTypedef]
|
||||
# Correct `CountFieldName` on `DCompositionGetStatistics()`
|
||||
Windows.Win32.Graphics.DirectComposition.Apis.DCompositionGetStatistics : targetIds : [Optional,Out] => [NativeArrayInfo(CountFieldName=targetIdCount),Optional,Out]
|
Загрузка…
Ссылка в новой задаче