DwmGetTransportAttributes function dwmapi
void
DwmGetTransportAttributes()
Retrieves transport attributes.
Throws a WindowsException on failure.
To learn more, see learn.microsoft.com/windows/win32/api/dwmapi/nf-dwmapi-dwmgettransportattributes.
Implementation
@pragma('vm:prefer-inline')
void DwmGetTransportAttributes(
Pointer<Int32> pfIsRemoting,
Pointer<Int32> pfIsConnected,
Pointer<Uint32> pDwGeneration,
) {
final hr$ = HRESULT(
_DwmGetTransportAttributes(pfIsRemoting, pfIsConnected, pDwGeneration),
);
if (hr$.isError) throw WindowsException(hr$);
}