Skip to content
Merged
Show file tree
Hide file tree
Changes from 3 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
31 changes: 16 additions & 15 deletions generation/WinSDK/emitter.settings.rsp
Original file line number Diff line number Diff line change
Expand Up @@ -985,30 +985,30 @@ IWICImagingFactory::CreateDecoderFromFilename::pguidVendor=[Optional]
DCompositionCreateDevice::dcompositionDevice=[ComOutPtr]
DCompositionCreateDevice2::dcompositionDevice=[ComOutPtr]
DCompositionCreateDevice3::dcompositionDevice=[ComOutPtr]
HttpAddFragmentToCache::Overlapped=[Optional]
HttpCancelHttpRequest::Overlapped=[Optional]
HttpAddFragmentToCache::Overlapped=[In][Out][Optional][Retained]
HttpCancelHttpRequest::Overlapped=[In][Out][Optional][Retained]
HttpCreateRequestQueue::Flags=[Optional]
HttpCreateRequestQueue::Name=[Optional]
HttpCreateRequestQueue::SecurityAttributes=[Optional]
HttpFlushResponseCache::Overlapped=[Optional]
HttpFlushResponseCache::Overlapped=[In][Out][Optional][Retained]
HttpReadFragmentFromCache::ByteRange=[Optional]
HttpReadFragmentFromCache::Overlapped=[Optional]
HttpReceiveClientCertificate::Overlapped=[Optional]
HttpReceiveHttpRequest::Overlapped=[Optional]
HttpReceiveRequestEntityBody::Overlapped=[Optional]
HttpReadFragmentFromCache::Overlapped=[In][Out][Optional][Retained]
HttpReceiveClientCertificate::Overlapped=[In][Out][Optional][Retained]
HttpReceiveHttpRequest::Overlapped=[In][Out][Optional][Retained]
HttpReceiveRequestEntityBody::Overlapped=[In][Out][Optional][Retained]
HttpSendHttpResponse::BytesSent=[Optional]
HttpSendHttpResponse::CachePolicy=[Optional]
HttpSendHttpResponse::LogData=[Optional]
HttpSendHttpResponse::Overlapped=[Optional]
HttpSendHttpResponse::Overlapped=[In][Out][Optional][Retained]
HttpSendResponseEntityBody::BytesSent=[Optional]
HttpSendResponseEntityBody::EntityChunkCount=[Optional]
HttpSendResponseEntityBody::LogData=[Optional]
HttpSendResponseEntityBody::Overlapped=[Optional]
HttpSendResponseEntityBody::Overlapped=[In][Out][Optional][Retained]
HttpSendResponseEntityBody::Reserved1=[Optional]
HttpSendResponseEntityBody::Reserved2=[Optional]
HttpWaitForDemandStart::Overlapped=[Optional]
HttpWaitForDisconnect::Overlapped=[Optional]
HttpWaitForDisconnectEx::Overlapped=[Optional]
HttpWaitForDemandStart::Overlapped=[In][Out][Optional][Retained]
HttpWaitForDisconnect::Overlapped=[In][Out][Optional][Retained]
HttpWaitForDisconnectEx::Overlapped=[In][Out][Optional][Retained]
HttpWaitForDisconnectEx::Reserved=[Optional]
IDCompositionSurface::BeginDraw::updateObject=[ComOutPtr]
# powerbase.h
Expand Down Expand Up @@ -1078,7 +1078,7 @@ FNCERTSRVBACKUPGETDYNAMICFILELISTW::pcbSize=[Out]
SetLogFileSizeWithPolicy::pDesiredSize=[In]
SetLogFileSizeWithPolicy::pResultingSize=[Out]
FlushLogBuffers::pvMarshal=[In]
FlushLogBuffers::pOverlapped=[In][Out][Optional]
FlushLogBuffers::pOverlapped=[In][Out][Optional][Retained]
GetMessageA=[CanReturnMultipleSuccessValuesAttribute]
GetMessageW=[CanReturnMultipleSuccessValuesAttribute]
GetNumberOfPhysicalMonitorsFromHMONITOR::return=BOOL
Expand Down Expand Up @@ -1752,7 +1752,7 @@ WNetUseConnection4A::return=WIN32_ERROR
WNetUseConnection4W::return=WIN32_ERROR
WNetUseConnectionA::return=WIN32_ERROR
WNetUseConnectionW::return=WIN32_ERROR
HttpReceiveHttpRequest::Overlapped=[Out]
HttpReceiveHttpRequest::Overlapped=[In][Out][Optional][Retained]
PFTASKDIALOGCALLBACK::msg=[AssociatedEnum("TASKDIALOG_NOTIFICATIONS")]
GlobalMemoryStatusEx::lpBuffer=[In]
SHCreateItemInKnownFolder::dwKFFlags=[AssociatedEnum("KNOWN_FOLDER_FLAG")]
Expand Down Expand Up @@ -1814,4 +1814,5 @@ GetFileAttributesA=[CanReturnMultipleSuccessValues]
GetFileAttributesW=[CanReturnMultipleSuccessValues]
GetFileVersionInfoSizeA=[CanReturnMultipleSuccessValues]
GetFileVersionInfoSizeW=[CanReturnMultipleSuccessValues]
CertCreateCertificateContext=[CanReturnMultipleSuccessValues]
CertCreateCertificateContext=[CanReturnMultipleSuccessValues]
DeviceIoControl::lpOverlapped=[In][Out][Optional][Retained]
12 changes: 12 additions & 0 deletions generation/WinSDK/manual/Metadata.cs
Original file line number Diff line number Diff line change
Expand Up @@ -260,6 +260,18 @@ public ReservedAttribute()
}
}

/// <summary>
/// Indicates that the attributed parameter must point to a structure that remains allocated
/// throughout the lifetime of the asynchronous operation.
/// </summary>
[AttributeUsage(AttributeTargets.Parameter, AllowMultiple = false, Inherited = true)]
public class RetainedAttribute : Attribute
{
public RetainedAttribute()
{
}
}

[AttributeUsage(AttributeTargets.Parameter, AllowMultiple = false, Inherited = true)]
public class RetValAttribute : Attribute
{
Expand Down
Loading