Products | Support | Send comments on this topic. | Email a link to this topic. | Back to Getting Started | Help Version 18.0.10.24
LEADTOOLS Multimedia API Help

ILMNetProtocolManager::RegisterProtocol

Show in webframe

#include "netcon2.h"

C Syntax

HRESULT ILMNetProtocolManager_UnregisterProtocol(pProtMngr, Name, rclsid)

C++ Syntax

HRESULT UnregisterProtocol(Name, rclsid)

 

ILMNetProtocolManager * pProtMngr;

/* pointer to an interface */

LPCWSTR Name;

/* protocol name */

REFCLSID rclsid;

/* class id */

Registers a new communication protocol to be used with the toolkit.

Parameter

Description

pProtMngr

Pointer to an ILMNetProtocolManager interface.

Name

A character string that contains the new protocol name to register.

rclsid

The new protocol class ID to be registered.

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

The new protocol will be identified by the toolkit where the URLs of this protocol can be used to establish connections using the toolkits functions.

Required DLLs and Libraries

LMNetCon
DSKernel

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

Platforms

Win32, x64

See Also

Functions:

ILMNetProtocolManager::UnregisterProtocol, ILMNetProtocolManager::Connect, ILMNetProtocolManager::CreateConnectionPoint

Topics:

Video Streaming Function Groups, Multimedia Function Group, DVD Function Groups

Example

For a C example, refer to How to Create a User-Defined Protocol.

For a C++ example, refer to How to Create a User-Defined Protocol.

Products | Support | Contact Us | Copyright Notices
© 2006-2014 All Rights Reserved. LEAD Technologies, Inc.