Share via


MediaQueryEngine_t::ActiveServerName (Windows Embedded CE 6.0)

1/5/2010

The ActiveServerName method provides the name of the active server.

Syntax

Bool  ActiveServerName( 
  WCHAR*  pBuffer, 
  int* pBufferLen 
);

Parameters

  • pBuffer
    User-supplied buffer to hold the active server name.
  • pBufferLen
    Pointer to an integer that contains the length of the supplied buffer.

Return Value

This method returns a bool indicating success/failure of the operation. Possible values include the following:

Value Description

TRUE

The ActiveServerName operation was successful.

FALSE

There was error returning the active server name. Check GetLastError() value for more information about the cause for failure.

Requirements

Header mediaqueryengine.hpp
Library MQELib.lib
Windows Embedded CE Windows CE 5.0 Networked Media Device Feature Pack and later

See Also

Reference

MediaQueryEngine_t
ServerInfoCollection_t