GetServerVariable

The GetServerVariable callback function specifies a server variable that the ISAPI filter needs to retrieve from IIS.

BOOL WINAPI * GetServerVariable(

  PHTTP_FILTER_CONTEXT pfc,

  LPSTR lpszVariableName,

  LPVOID lpvBuffer,

  LPDWORD lpdwSize

);

 

Parameters
pfc
Points to the HTTP_FILTER_CONTEXT data structure that is associated with the current, active HTTP transaction.
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.