Ureader.com  
Microsoft software help and Community
   home   |   control panel login   |   archive   |  
 
platform
active.directory
adsi
adsi.iis-admin
base
com_ole
complus_mts
component_svcs
database
directx
gdi
graphics_mm
internet.client
internet.server
internet.server.isapi-dev
localization
mapi
messaging
msi
mslayerforunicode
multimedia
networking
networking.ipv6
sdk_install
security
shell
telephony.tapi_2
telephony.tapi_3
telephony.tsp
telephony.wte
tools
ui
ui_shell
win_base_svcs
win16
  
 
date: 13 Feb 2006 09:25:41 -0800,    group: microsoft.public.platformsdk.internet.server.isapi-dev        back       


Wide char APIs that can be used to Get\Set headers in ISAPI filter   
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
date: 13 Feb 2006 09:25:41 -0800   author:   Suyog

Re: Wide char APIs that can be used to Get\Set headers in ISAPI filter   
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
>
date: Mon, 13 Feb 2006 14:13:16 -0800   author:   David Wang [Msft]

Google
 
Web ureader.com


    COPYRIGHT 2007, YARDI TECHNOLOGY LIMITED, ALL RIGHT RESERVE  |   contact us