ttNtEntryCBFuncPtr

Jump to: navigation, search

Table of Contents >> Application Reference >> NETSTAT


int ttNtEntryCBFuncPtr (
ttNtEntryUPtr ntEntryPtr,
ttUserGenericUnion genParam1,
ttUserGenericUnion genParam2
);


Function Description

This is a callback interface definition. It is passed as the second parameter to tfNetStat(). tfNetStat() calls this function back for handling each of the entries found.


Parameters

  • ntEntryPtr
    A points to a union holding the information of an entry. The function needs to access the appropriate union member to get the entry.
  • genParam1
    A generic parameter passed into tfNetStat().
  • genParam2
    A generic parameter passed into tfNetStat().


Returns

  • TM_ENOERROR
    Direct tfNetStat() to continue walking.
  • TM_ENOENT
    Direct tfNetStat() to stop walking.


Table of Contents >> Application Reference >> NETSTAT