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 zero.
- ppIInternetSession
- Address of a pointer to the IInternetSession interface.
- dwReserved
- Reserved. Must be set to zero.
Return Value
Returns one of the following values:
S_OK Successful. E_OUTOFMEMORY Not enough memory to create a session. E_INVALIDARG One of the arguments is invalid.
Function Information
Windows NT Use version 4.0 Windows Use Windows 95 and later Header Declared in Urlmon.h Import library Link with Urlmon.lib Minimum availability Internet Explorer 3.0
Windows CE
Windows CE Use version 2.12 and later Minimum availability Internet Explorer 4.0