IltmmTVTuner::Logon

#include "ltmm.h"

C Syntax

HRESULT IltmmTVTuner_Logon(pTV, hCurrentUser)

C++ Syntax

HRESULT Logon(hCurrentUser)

 

IltmmTVTuner *pTV;

/* pointer to an interface */

long hCurrentUser;

/* handle */

Logs a user into the system.

Parameter

Description

pTV

Pointer to an IltmmTVTuner interface.

hCurrentUser

Handle to an application-defined data structure that identifies the user to logon.

Returns

S_OK

The function was successful.

<> S_OK

An error occurred. Refer to the Error Codes or the HRESULT error codes in the DirectShow documentation.

Comments

To log off the system, use IltmmTVTuner::Logout.

For more detailed information, refer to the Microsoft documentation for IAMTuner::Logon at http://msdn.microsoft.com/archive/default.asp?url=/library/en-us/directshow/htm/iamtunerlogon.asp.

Required DLLs and Libraries

LTMM

For a listing of the exact DLLs and Libraries needed, based on the toolkit version, refer to Files To Be Included With Your Application.

See Also

Topics:

Multimedia Function Group