ILMNetProtocolManager::CreateConnectionPoint
#include "netcon2.h"
C Syntax |
HRESULT ILMNetProtocolManager_CreateConnectionPoint(pProtMngr, URL, ppConPt) |
C++ Syntax |
HRESULT CreateConnectionPoint(URL, ppConPt) |
ILMNetProtocolManager * pProtMngr; |
/* pointer to an interface */ |
LPCWSTR URL; |
/* string */ |
ILMNetConnectionPoint **ppConPt; |
/* pointer to an interface */ |
Creates a connection point for listening to incoming connections.
Parameter |
Description |
pProtMngr |
Pointer to an ILMNetProtocolManager interface. |
URL |
A Character string that contains the address of the server connection point. |
ppConPt |
Pointer to a variable to be updated with a pointer to an ILMNetConnectionPoint interface. |
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
This function should not be used directly by the user.
Required DLLs and Libraries
LMNetCon 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
Example
For examples, refer to How to Create a User-Defined Protocol and How to Network (Client and Server) Using a User-Defined Protocol.