Reference

CoInternetGetSession(3w)

NAME

CoInternetGetSession (URLMON.@)

SYNOPSIS

HRESULT CoInternetGetSession
(
DWORD dwSessionMode,
IInternetSession** ppIInternetSession,
DWORD dwReserved
)

DESCRIPTION

Create a new internet session and return an IInternetSession interface representing it.

PARAMS

dwSessionMode [In] Mode for the internet session.

ppIInternetSession [Out] Destination for creates IInternetSession object.

dwReserved [In] Reserved, must be 0.

RETURNS

Success: S_OK. ppIInternetSession contains the IInternetSession interface.

Failure: E_INVALIDARG, if any argument is invalid, or E_OUTOFMEMORY if memory allocation fails.

IMPLEMENTATION

Declared in "urlmon.h".

Implemented in "dlls/urlmon/session.c".

Debug channel "urlmon".

History