OTInetSysInfo
Returns details about a host's processor and operating system.C INTERFACE
OSStatus OTInetSysInfo (InetSvcRef ref, char *name, InetSysInfo *sysinfo);C++ INTERFACE
OSStatus TInternetServices::SysInfo (char *name, InetSysInfo *sysinfo);PARAMETERS
ref- The internet services reference you obtained when you opened the TCP/IP service provider.
name- The name of the host about which you want information. This can be a host name (including the local host), a partially qualified domain name, or a fully qualified domain name.
sysinfo- A pointer to an
InetSysInfostructure. You must allocate this structure. The function fills it in with the processor type and operating-system version of the host.DESCRIPTION
The information returned by this function is maintained by the domain name server. If you call this function asynchronously, the TCP/IP service provider calls your notifier function with theT_DNRSYSINFOCOMPLETEcompletion event code when the function completes. Thecookieparameter to the notifier function contains a pointer to theInetSysInfostructure you specified in thesysinfoparameter. If you had more than one simultaneous outstanding call to theOTInetSysInfofunction, you can use this information to determine which call has completed execution.SPECIAL CONSIDERATIONS
If you call this function asynchronously, do not write to theInetSysInfostructure until the function completes.COMPLETION EVENT CODES
T_DNRSYSINFOCOMPLETE0x10000003 The OTInetSysInfofunction has completed.SEE ALSO
TheInetSysInfostructure is described in "Internet System Information Structure" on page 8-27.
Main | Top of Section | What's New | Apple Computer, Inc. | Find It | Feedback | Help