AddHeader
The AddHeadercallback function adds a header to IIS.
BOOL WINAPI * AddHeader (
struct _HTTP_FILTER_CONTEXT *pfc,
LPSTR lpszName,
LPSTR lpszValue
);
Parameters
-
pfc
-
Specifies the filter context for this request from the pfc passed to the HttpFilterProc.
-
lpszName
-
Points to the name of the header to add.
-
lpszValue
-
Points to the new string to change the header to or to \0 to delete the header.