ILMNetProtocol::CreateConnectionPoint

Summary

Creates a connection point for listening to incoming connections.

Syntax

#include "netcon2.h"

Language Syntax
C HRESULT ILMNetProtocol_CreateConnectionPoint(pProtocol, URL, ppConPt)
C++ HRESULT CreateConnectionPoint(URL, ppConPt)

Parameters

ILMNetProtocol *pProtocol

Pointer to an ILMNetProtocol interface.

LPCWSTR URL

A character string that contains the address of the server connection point.

ILMNetConnectionPoint **ppConPt

Pointer to a variable to be updated with a pointer to an ILMNetConnectionPoint interface.

Returns

Value Meaning
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

This function should not be used directly by the user: the ILMNetProtocolManager::CreateConnectionPoint function calls this function.

Required DLLs and Libraries

Platforms

Win32, x64.

See Also

Functions

Topics

Example

For a C/C++ example, refer to How to Network (Client and Server) Using a User-Defined Protocol.

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

LEADTOOLS Multimedia C API Help
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.