DeRegisterServiceMethod

Removes a named Service Method from the NetWare HTTP Stack.

Syntax

    #include <httpexp.h>
    
    BOOL DeRegisterServiceMethod (
      void  *pzServiceName,
      void  *pServiceTag,
      int    szServiceTagLength,
      UINT32 (*pServiceMethodCallback)(
                  HINTERNET  hndl,
    	              void      *pExtraInfo,
                  UINT32     szExtraInfo,
                  UINT32     InformationBits),
      void   *pRTag,
      UINT32   pReturnCode);
    

Parameters

pzServiceName
(IN) Points to an ASCIIZ string describing the Service Method.
pServiceTag
(IN) Points to the ASCII string representing the method.
szServiceTagLength
(IN) Specifies the length in bytes of the Service Tag.
pServiceMethodCallback
(IN) Points to the function to invoke when the first component of a relative URL path is equivalent to the Service Tag. The callback method is passed the following parameters:
  • hndl—(IN) Specifies the HTTP stack handle.
  • pExtraInfo—(IN) Points to any data following the relative URL, or to the break character if encountered in the relative URL.
  • szExtraInfo—(IN) Specifies the size of the pExtraInfo buffer, in bytes.
  • InformationBits—(IN) See Section 6.5, Information Bits.
pRTag
(IN) Points to a NetWare resource tag.
pReturnCode
(OUT) Points to where the error code is placed, if registration fails.

Return Values

Constant

Description

TRUE

The Service Method has been de-registered.

FALSE

The Service Method failed de-registration. For failure reason, see pReturnCode.

See Also

RegisterServiceMethod, RegisterServiceMethodEx