ILMNetMux::WriteMessage

#include "ILMNetMux2.h"

C Syntax

HRESULT ILMNetMux_WriteMessage(pNetMux, Message)

C++ Syntax

HRESULT WriteMessage(Message)

 

ILMNetMux *pNetMux;

/* pointer to an interface */

BSTR Message;

/* string */

Sends a text message to all connected clients.

Parameter

Description

pNetMux

Pointer to an ILMNetMux interface.

Message

A character string that contains the message to be sent to all connected clients. At the client side, the message can be received using ILMNetDmx::ReadMessage.

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.

Required DLLs and Libraries

LMNetMux
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.

See Also

Functions:

ILMNetDmx::ReadMessage

Topics:

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

Example

For a C or C++ example, refer to A Complete Example: Server and Client.