ILMNetProtocolManager::RegisterProtocol

#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

Help Version 20.0.2020.4.2
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2020 LEAD Technologies, Inc. All Rights Reserved.

LEADTOOLS Multimedia C API Help