INetwork::GetTimeCreatedAndConnected method (netlistmgr.h)

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

Syntax

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

Parameters

[out] pdwLowDateTimeCreated

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

[out] pdwHighDateTimeCreated

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

[out] pdwLowDateTimeConnected

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

[out] pdwHighDateTimeConnected

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 code Description
E_POINTER
The pointer passed is NULL.

Requirements

Requirement Value
Minimum supported client Windows Vista [desktop apps only]
Minimum supported server Windows Server 2008 [desktop apps only]
Target Platform Windows
Header netlistmgr.h

See also

INetwork