Share via


ServerInfo_t::UniqueDeviceName (Windows Embedded CE 6.0)

1/5/2010

This method returns the unique device name (UDN) of the server.

Syntax

bool UniqueDeviceName( 
  WCHAR* pBuffer, 
  int* pBufferLength 
);

Parameters

  • pBuffer
    Buffer to fill the unique device name in.
  • pBufferLength
    Pointer to the integer containing length of the output buffer.

Return Value

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

Value Description

TRUE

The UDN is returned in the given buffer and the buffer length is updated.

FALSE

The UDN is not retrieved. Check GetLastError() value for more information about the cause behind the 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

ServerInfo_t