Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- CA-Clipper Tools . Book 4-Appendices - <b>nbdelname()</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 NBDELNAME()
 Deletes a NetBIOS name from the local name table
------------------------------------------------------------------------------
 Syntax

     NBDELNAME(<cName>) -->lSuccess

     Netware: 2.2 and 3.11

 Argument

     <cName>  Designates a station or group name that is deleted from a
     local name table.  The name can be up to 15 characters long and is case
     sensitive.

 Returns

     NBDELNAME() returns .T. if <cName> has been deleted successfully from
     the local name table.  If an error occurs (for example, if the name is
     not in the name table), the function returns .F..

 Description

     NBDELNAME() allows you to delete a station or group name from the local
     name table.  For example, all names added to a table within an
     application can be deleted at the end of the program.

     When a name is deleted from a name table, all NetBIOS datagram and
     NetBIOS session communication buffers for which <cName> has been passed
     as source name are closed.  Related communication handles are then
     invalid.

 Example

     Delete the NetBIOS name MIKE from the local name table:

     IF NBDELNAME('MIKE')
        ? 'Name has been deleted successfully!'
     ELSE
        ? 'Name  could not be deleted!'
     ENDIF

See Also: NBADDGROUP() NBADDNAME()

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson