GetServerVariable
The GetServerVariable callback function specifies a server variable that the ISAPI filter needs to retrieve from IIS.
BOOL WINAPI * GetServerVariable(
struct _HTTP_FILTER_CONTEXT * pfc,
LPSTR lpszVariableName,
LPVOID lpvBuffer,
LPDWORD lpdwSize
);
Parameters
-
pfc
-
Points to a HTTP_FILTER_CONTEXT structure.
-
lpszVariableName
-
Points to a string that contains the variable to retrieve.
-
lpvBuffer
-
Points to the buffer to receive the requested information.
-
lpdwSize
-
Points to a DWORD that indicates the size of the buffer pointed to by lpvBuffer. On successful completion, the DWORD contains the size of bytes transferred into the buffer, including the null-terminating byte.