INetwork::GetTimeCreatedAndConnected method

The GetTimeCreatedAndConnected method returns the local date and time when the network was created and connected.

Syntax


HRESULT STDMETHODCALLTYPE GetTimeCreatedAndConnected(
  [out]  DWORD *pdwLowDateTimeCreated,
  [out]  DWORD *pdwHighDateTimeCreated,
  [out]  DWORD *pdwLowDateTimeConnected,
  [out]  DWORD *pdwHighDateTimeConnected
);

Parameters

pdwLowDateTimeCreated [out]

Pointer to a datetime when the network was created. Specifically, it contains the low DWORD of FILETIME.dwLowDateTime.

pdwHighDateTimeCreated [out]

Pointer to a datetime when the network was created. Specifically, it contains the high DWORD of FILETIME.dwLowDateTime.

pdwLowDateTimeConnected [out]

Pointer to a datetime when the network was last connected to. Specifically, it contains the low DWORD of FILETIME.dwLowDateTime.

pdwHighDateTimeConnected [out]

Pointer to a datetime when the network was last connected to. Specifically, it contains the high DWORD of FILETIME.dwLowDateTime.

Return value

Returns S_OK if the method succeeds. Otherwise, the method returns one of the following values.

Return codeDescription
E_POINTER

The pointer passed is NULL.

 

Requirements

Minimum supported client

Windows Vista [desktop apps only]

Minimum supported server

Windows Server 2008 [desktop apps only]

Header

Netlistmgr.h

IDL

Netlistmgr.idl

See also

INetwork

 

 

Community Additions

ADD
Show:
© 2014 Microsoft