CoInternetGetSession (Windows CE 5.0)
This function creates a session that allows temporary asynchronous pluggable protocols to be implemented and returns the IInternetSession interface of the session.
STDAPI CoInternetGetSession(DWORDdwSessionMode,IInternetSession** ppIInternetSession,DWORDdwReserved);
Parameters
- dwSessionMode
Reserved. Must be set to zero. - ppIInternetSession
Address of a pointer to the IInternetSession interface. - dwReserved
Reserved. Must be set to zero.
Return Values
Returns one of the values shown in the following table.
Value | Description |
---|---|
S_OK | Successful. |
E_OUTOFMEMORY | Not enough memory to create a session. |
E_INVALIDARG | One of the arguments is invalid. |
Requirements
OS Versions: Windows CE .NET 4.0 and later.
Header: Urlmon.h, Urlmon.idl.
Link Library: Urlmon.lib.
See Also
Send Feedback on this topic to the authors