Retrieves the physical path for the current request.
A pointer to a DWORD that will contain the length of the string returned by GetPhysicalPath.
A pointer to a string that contains the path.
You can use the GetPhysicalPath method to retrieve the physical path of the current file that is being requested. For example, if a request were made for your site's home page, the GetPhysicalPath method might return SystemDrive\Inetpub\Wwwroot\Default.htm.
The following code example demonstrates how to use the GetPhysicalPath method to create an HTTP module that retrieves the full path of the current request.