HSE_REQ_MAP_URL_TO_PATH_EX

This support function is an improved version of the HSE_REQ_MAP_URL_TO_PATH support function. It allows your ISAPI extension to map a logical URL path to a physical path, as well as gather several types of attributes that are associated with that physical path, such as access-control or cache-control flags.

Here are some examples of virtual-to-physical path mappings:

/scripts becomes C:\InetPub\scripts

/scripts/oop becomes C:\InetPub\scripts\oop

BOOL ServerSupportFunction(

  HCONN ConnID,  

  DWORD HSE_REQ_MAP_URL_TO_PATH_EX, 

  LPVOID lpvBuffer,  

  LPDWORD lpdwSize,  

  LPDWORD lpdwDataType

);

 

Parameters
ConnID
Specifies the connection identifier of the client to which the response data should be sent.
lpvBuffer
Points to a buffer that should contain the logical path to map.
lpdwSizeofBuffer
Points to the size of the buffer specified in lpvBuffer.
lpdwDataType
Points to an HSE_URL_MAPEX_INFO data structure. Upon return, the lpszPath member will contain the physical path mapped by the logical path specified in the lpvBuffer parameter.