Поделиться через


MediaQueryEngine_t::ActiveServerUDN (Windows Embedded CE 6.0)

1/5/2010

The ActiveServerUDN method provides the unique device name of the active server.

Syntax

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

Parameters

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

Return Value

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

Value Description

TRUE

The ActiveServerUDN 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