DwmGetTransportAttributes function

Retrieves transport attributes.

Syntax

DWMAPI DwmGetTransportAttributes(
  BOOL  *pfIsRemoting,
  BOOL  *pfIsConnected,
  DWORD *pDwGeneration
);

Parameters

pfIsRemoting

A pointer to a BOOL value that indicates whether the transport supports remoting. TRUE if the transport supports remoting; otherwise, FALSE.

pfIsConnected

A pointer to a BOOL value that indicates whether the transport is connected. TRUE if the transport is connected; otherwise, FALSE.

pDwGeneration

A pointer to a DWORD that receives a generation value for the transport.

Return Value

If this function succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.

Requirements

   
Minimum supported client Windows Vista [desktop apps only]
Minimum supported server Windows Server 2008 [desktop apps only]
Target Platform Windows
Header dwmapi.h
Library Dwmapi.lib
DLL Dwmapi.dll