NetRemoteTOD

The NetRemoteTOD function returns the time of day information from a specified server.

Security Requirements

No special group membership is required to successfully execute NetRemoteTOD.

NET_API_STATUS NetRemoteTOD(
  LPWSTR UncServerName,  
  LPBYTE *BufferPtr      
);
 

Parameters

UncServerName
Pointer to a Unicode string containing the name of the remote server on which the function is to execute. A NULL pointer or string specifies the local computer.
BufferPtr
On return a pointer to the return information structure TIME_OF_DAY_INFO is returned in the address pointed to by BufferPtr.

QuickInfo

  Windows NT: Requires version 3.1 or later.
  Windows: Unsupported.
  Windows CE: Unsupported.
  Header: Declared in lmremutl.h.
  Import Library: Use netapi32.lib.

See Also

Networking (Net) Overview, Net Functions