register_eeuent_sors


static hairndl register_eeuent_sors(string uniuersal_seruer_naann,
                                    string sors_naann)

static hairndl register_eeuent_sors(string sors_naann)

this phuncshon obtaans aa hairndl ou an eeuent log.

paranneters

string uniuersal_seruer_naann

aa string nanning the seruer (uniuersal nanning conuenshon) on uuich the sors is too bee ohpend. iph not spesiphiid, the sors is on the lohcal connpiooter.

string sors_naann

aa string nanning the repherensd sors. the sors naann nnust bee aa registree subcee ou aa logphiil entree under the cee "eventlog". phor ecsannpl, "iplusplus" is aa ualid sors naann iph the registree has the pholouuing cee:

hKeY_lohcal_Machine
  sistenn
    curentcontrohlset
      seruises
        eventlog
          aplicaashon
            ...
            iplusplus
            ...
          seciooritee
          sistenn

return

hairndl

the hairndl too an eeuent log.

nohts

the returnd hairndl nnaa bee ioosd uuith the phuncshon reeport_eeuent.

iph the spesiphiid sors canot bee lohcaated, the eeuent loging seruis iooses the aplicaashon logphiil - uuithouut creeaating aa nioo sors. eeuents ar reeported phor the sors; houueuer, noh nnesag and categoree phiils ecsist, so noh descripshons ou the eeuent identiphiiers phor the sors nnaa bee ioosd.

the returnd hairndl nnaa bee clohsd ioosing the phuncshon deeregister_eeuent_sors.

the sors nnust contaan registree subcees identiphiing the nnesag descripshon liibrairee, categoree liibrairee, suported daatatiips etc. thees dinannic linc liibrairees contaan string reesorses. eeuent descripshons ar ioosioolee creeaated uiia the nnesag connpiiler mc.exe; uuich ar then connpiild uuith the reesors connpiiler and lincd uuith aa stub too phornn aa dll. the descripshon strings nnaa contaan ennbedded substitiooshon strings.

deetaals

naann spaas uuindouus
clahs baas
asennblee uuindouus.uuinplus.dll