Hello, I am using GetHeader and SetHeader functions in "SF_NOTIFY_AUTH_COMPLETE" . The signature of the function is: BOOL (WINAPI * SetHeader) ( struct _HTTP_FILTER_CONTEXT * pfc, LPSTR lpszName, LPSTR lpszValue ); As mentioned in MSDN LPSTR is a "Pointer to a null-terminated string of 8-bit Windows (ANSI) characters." So my question is that is there a function which I can use to manipulate the headers using wide char functions? I am not aware of how certificates work but I assume that they provide data which could be in UNICODE and then I could be in trouble. Can you someone help me sort this out? Thanks in advance, Suyog
http://blogs.msdn.com/david.wang/archive/2006/02/03/Unicode_and_ISAPI_Filters.aspx -- //David IIS http://blogs.msdn.com/David.Wang This posting is provided "AS IS" with no warranties, and confers no rights. // "Suyog" wrote in message news:1139851541.592170.122250@g47g2000cwa.googlegroups.com... > Hello, > > > I am using GetHeader and SetHeader functions in > "SF_NOTIFY_AUTH_COMPLETE" . > The signature of the function is: > > BOOL (WINAPI * SetHeader) ( > struct _HTTP_FILTER_CONTEXT * pfc, > LPSTR lpszName, > LPSTR lpszValue > ); > > > As mentioned in MSDN LPSTR is a "Pointer to a null-terminated string > of 8-bit Windows (ANSI) characters." > So my question is that is there a function which I can use to > manipulate the headers using wide char functions? > > I am not aware of how certificates work but I assume that they provide > data which could be in UNICODE and then I could be in trouble. > > Can you someone help me sort this out? > > > Thanks in advance, > > Suyog >