nteventlog(3erl)


NAME

   nteventlog - Interface to Windows Event Log

DESCRIPTION

   nteventlog provides a generic interface to the Windows event log. It is
   part of the OS_Mon application, see os_mon(7).  Available  for  Windows
   versions  where the event log is available. That is, not for Windows 98
   and some other older  Windows  versions,  but  for  most  (all?)  newer
   Windows versions.

   This   module   is   used  as  the  Windows  backend  for  os_sup,  see
   os_sup(3erl).

   To retain backwards compatibility, this module  can  also  be  used  to
   start  a  standalone nteventlog process which is not part of the OS_Mon
   supervision tree. When starting such a process, the user has to  supply
   an identifier as well as a callback function to handle the messages.

   The identifier, an arbitrary string, should be reused whenever the same
   application (or  node)  wants  to  start  the  process.  nteventlog  is
   informed  about  all events that have arrived to the eventlog since the
   last accepted message for the current identifier. As long as  the  same
   identifier  is  used,  the  same  eventlog  record  will not be sent to
   nteventlog more than once (with the exception  of  when  graved  system
   failures  arise,  in  which  case  the  last records written before the
   failure may be sent to Erlang again after reboot).

   If the event log is configured to wrap  around  automatically,  records
   that  have  arrived to the log and been overwritten when nteventlog was
   not running are lost. It  however  detects  this  state  and  loses  no
   records that are not overwritten.

   The callback function works as described in os_sup(3erl).

EXPORTS

   start(Identifier, MFA) -> Result
   start_link(Identifier, MFA) -> Result

          Types:

             Identifier = string() | atom()
             MFA = {Mod, Func, Args}
              Mod = Func = atom()
              Args = [term()]
             Result = {ok, Pid} | {error, {already_started, Pid}}
             Pid = pid()

          This  function  starts the standalone nteventlog process and, if
          start_link/2 is used, links to it.

          Identifier is an identifier as described above.

          MFA is the supplied callback function. When nteventlog  receives
          information  about  a new event, this function will be called as
          apply(Mod, Func, [Event|Args]) where Event is a tuple

   stop() -> stopped

          Types:

             Result = stopped

          Stops nteventlog. Usually  only  used  during  development.  The
          server  does not have to be shut down gracefully to maintain its
          state.

SEE ALSO

   os_mon(7), os_sup(3erl)

   Windows NT documentation





Opportunity


Personal Opportunity - Free software gives you access to billions of dollars of software at no cost. Use this software for your business, personal use or to develop a profitable skill. Access to source code provides access to a level of capabilities/information that companies protect though copyrights. Open source is a core component of the Internet and it is available to you. Leverage the billions of dollars in resources and capabilities to build a career, establish a business or change the world. The potential is endless for those who understand the opportunity.

Business Opportunity - Goldman Sachs, IBM and countless large corporations are leveraging open source to reduce costs, develop products and increase their bottom lines. Learn what these companies know about open source and how open source can give you the advantage.





Free Software


Free Software provides computer programs and capabilities at no cost but more importantly, it provides the freedom to run, edit, contribute to, and share the software. The importance of free software is a matter of access, not price. Software at no cost is a benefit but ownership rights to the software and source code is far more significant.


Free Office Software - The Libre Office suite provides top desktop productivity tools for free. This includes, a word processor, spreadsheet, presentation engine, drawing and flowcharting, database and math applications. Libre Office is available for Linux or Windows.





Free Books


The Free Books Library is a collection of thousands of the most popular public domain books in an online readable format. The collection includes great classical literature and more recent works where the U.S. copyright has expired. These books are yours to read and use without restrictions.


Source Code - Want to change a program or know how it works? Open Source provides the source code for its programs so that anyone can use, modify or learn how to write those programs themselves. Visit the GNU source code repositories to download the source.





Education


Study at Harvard, Stanford or MIT - Open edX provides free online courses from Harvard, MIT, Columbia, UC Berkeley and other top Universities. Hundreds of courses for almost all major subjects and course levels. Open edx also offers some paid courses and selected certifications.


Linux Manual Pages - A man or manual page is a form of software documentation found on Linux/Unix operating systems. Topics covered include computer programs (including library and system calls), formal standards and conventions, and even abstract concepts.