CoInternetGetSession Function
Creates a session that allows temporary asynchronous pluggable protocols to be implemented and returns the IInternetSession interface of the session.
Syntax
STDAPI CoInternetGetSession( DWORD dwSessionMode, IInternetSession **ppIInternetSession, DWORD dwReserved );
Parameters
- dwSessionMode
- Reserved. Must be set to 0.
- ppIInternetSession
- The address of a pointer to the IInternetSession interface.
- dwReserved
- Reserved. Must be set to 0.
Return Value
Returns one of the following values.
S_OK Success. E_OUTOFMEMORY Not enough memory to create a session. E_INVALIDARG One of the arguments is invalid.
Function Information
Stock Implementation urlmon.dll Custom Implementation No Header Urlmon.h Import library Urlmon.lib Minimum availability Internet Explorer 3.0 Minimum operating systems Windows NT 4.0, Windows 95, Windows CE 2.12