RegisterFileSystemServiceMethodEx

Registers a default file system method with the NetWare HTTP Stack.

Syntax

    #include <httpexp.h>
    
    BOOL RegisterFileSystemServiceMethodEx (
       UINT32   (*pServiceMethodCallback)(
                   HINTERNET   hndl,
                   void       *pExtraInfo,
                   UINT32      szExtraInfo,
                   UINT32      InformationBits),
       void    *pRTag,
       UINT32   pReturnCode
       UINT32   FileSystemID,
       UINT32   optionFlags);
    

Parameters

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
(I/O) Points to where the error code is placed, if registration fails.
FileSystemID
(IN) Specifies.
optionFlags
(IN) Specifies.

Return Values

Constant

Description

TRUE

The Service Method has been registered as the default file system method.

FALSE

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