Partager via


MediaQueryEngine_t::ActiveServerUDN (Windows CE 5.0)

Send Feedback

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

OS Versions: Windows CE 5.0 Networked Media Device Feature Pack.
Header: MediaQueryEngine.hpp.
Link Library: MQELib.lib.

See Also

MediaQueryEngine_t | ServerInfoCollection_t

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.