You can use this structure with the HSE_REQ_MAP_URL_TO_PATH_EX ServerSupportFunction. The structure returns information regarding the virtual root that is to be mapped to a physical path.
typedef struct _HSE_URL_MAPEX_INFO {
CHAR lpszPath[MAX_PATH]; // Physical path mapped to by the URL.
DWORD dwFlags // Flags associated with this URL path.
DWORD cchMatchingPath; // Number of matching characters in
// physical path.
DWORD cchMatchingURL; // Number of matching characters in URL.
DWORD dwReserved1;
DWORD dwReserved2;
} HSE_URL_MAPEX_INFO, * LPHSE_URL_MAPEX_INFO;
Value | Meaning |
HSE_URL_FLAGS_READ | Allow for read. |
HSE_URL_FLAGS_WRITE | Allow for write. |
HSE_URL_FLAGS_EXECUTE | Allow for execute. |
HSE_URL_FLAGS_SSL | Require SSL. |
HSE_URL_FLAGS_DONT_CACHE | Don't cache (virtual root only). |
HSE_URL_FLAGS_NEGO_CERT | Allow client SSL certifications. |
HSE_URL_FLAGS_REQUIRE_CERT | Require client SSL certifications. |
HSE_URL_FLAGS_MAP_CERT | Map SSL certification to a Windows account. |
HSE_URL_FLAGS_SSL128 | Requires a 128-bit SSL. |
HSE_URL_FLAGS_SCRIPT | Allows for script execution. |