다음을 통해 공유


ServerInfo_t::UniqueDeviceName (Windows CE 5.0)

Send Feedback

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

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

See Also

ServerInfo_t

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.