Click to Rate and Give Feedback
MSDN
MSDN Library
.NET Development
.NET Framework 3.5
Windows CardSpace
 GetBrowserToken
Collapse All/Expand All Collapse All
This page is specific to
Microsoft Visual Studio 2008/.NET Framework 3.5

Other versions are also available for the following:
GetBrowserToken

Gets a browser token from the CardSpace system.

HRESULT
___stdcall GetBrowserToken(
                    __in    DWORD   dwParamType,
                    __in    PVOID   pParam,
                    __out_opt    DWORD*  pcbToken,
                     __out_bcount_opt(*pcbToken)    PBYTE*  ppToken );

Parameters

Parameter Description

dwParamType

Specifies the data type of pParam.

When dwParamType is RECIPIENTPOLICYV1, pParam must point to a RECIPIENTPOLICY structure.

pParam

Pointer to the parameter. The type of data depends on dwParamType.

pcbToken

Pointer to the buffer in which to receive the size of the token.

ppToken

Pointer to receive the pointer to the buffer. When you have finished using this buffer, free it using the Win32 GlobalFree function.

HRESULT.

Windows Vista

Header: Declared in infocard.h.

Library: Use infocardapi.lib.

Footer image

Send comments about this topic to Microsoft.

Copyright © 2007 by Microsoft Corporation. All rights reserved.

Tags What's this?: Add a tag
Community Content   What is Community Content?
Add new content RSS  Annotations
Processing
© 2009 Microsoft Corporation. All rights reserved. Terms of Use | Trademarks | Privacy Statement | Site Feedback
Page view tracker