home *** CD-ROM | disk | FTP | other *** search
/ Netware Super Library / Netware Super Library.iso / admin / _winfile / netlog / netlog.doc < prev    next >
Encoding:
Text File  |  1994-01-04  |  1.0 KB  |  29 lines

  1. The NETLOG.DLL file contains a function to return the current Novell 
  2. Network node number (Including Network Number) and the user that is 
  3. currently logged in.
  4.  
  5. The syntax is as follows:
  6.  
  7.            getloginfo(char *node,char *username);
  8.  
  9. NODE must be a 22 character string
  10. USERNAME must be a 48 character string
  11.  
  12. There is NO return value.
  13.  
  14. Pass the function the address of the variables, and it will place the 
  15. information at those addresses.
  16.  
  17. This program was developed in Microsoft Visual C++ Version 1.0.
  18. It was tested on Netware v3.11 but should also work on 2.2.
  19.  
  20. This function was tested using KnowledgeWare's ObjectView to access
  21. the DLL.  However, when accessing it the variables were reversed.
  22. In the ObjectView program, the USERNAME was passed into the NODE address
  23. and vice versa.  Since this is the first DLL I have written, my knowledge
  24. is quite lacking.  I would appreciate any insight into this problem.  The
  25. data at the addresses is very clean (No junk characters).
  26.  
  27. - Ken Strohschein 
  28.  
  29.