DwmGetTransportAttributes function

Retrieves transport attributes.

Syntax


HRESULT WINAPI DwmGetTransportAttributes(
  _Out_  BOOL *pfIsRemoting,
  _Out_  BOOL *pfIsConnected,
  _Out_  DWORD *pDwGeneration
);

Parameters

pfIsRemoting [out]

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

pfIsConnected [out]

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

pDwGeneration [out]

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]

Header

Dwmapi.h

Library

Dwmapi.lib

DLL

Dwmapi.dll

 

 

Community Additions

ADD
Show:
© 2014 Microsoft