WiFi Framework C++ Edition

◆ GetTimeCreatedAndConnected()

int GetTimeCreatedAndConnected ( SYSTEMTIME &  Created,
SYSTEMTIME &  Connected 
) const

Reads the local date and time when the network was created and connected.

Parameters
CreatedOn output contains a date and time when the network was created.
ConnectedOn output contains a date and time when the network was last connected to.
Returns
If the function succeeded the return value is WCL_E_SUCCESS. Otherwise the method returns one of the WCL error codes.