UnRegisterConsoleCommand

Unregisters a console command parsing function

Local Servers:nonblocking
Remote Servers:N/A
Classification:3.11, 3.12, 3.2, 4.x, 5.x, 6.x
Service:Advanced

Syntax

  #include <nwadv.h>  
   
  LONG UnRegisterConsoleCommand  (  
     struct commandParserStructure   *commandParser); 
  

Parameters

commandParser

(IN) Points to the command parsing function that is to be unregistered.

Return Values

This function returns a value of 0 if successful. If the specified command parsing function is not found (has not been registered), it returns a value of -1.

Remarks

This function should be called to unregister a command parsing function previously defined with RegisterConsoleCommand.

See Also

RegisterConsoleCommand