Contents Index Topic Contents | ||
Previous Topic: CoInternetGetProtocolFlags Next Topic: CoInternetParseUrl |
CoInternetGetSession
STDAPI CoInternetGetSession( DWORD dwSessionMode, IInternetSession **ppIInternetSession, DWORD dwReserved );Creates a session that allows temporary asynchronous pluggable protocols to be implemented and returns the IInternetSession interface of the session.
- 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.
- dwSessionMode
- Reserved. Must be set to zero.
- ppIInternetSession
- Address of the pointer to the IInternetSession interface.
- dwReserved
- Reserved. Must be set to zero.
Top of Page
© 1997 Microsoft Corporation. All rights reserved. Terms of Use.