다음을 통해 공유


ServerInfo_t::FriendlyDeviceName (Windows CE 5.0)

Send Feedback

This method returns the friendly device name of the server.

Syntax

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

Parameters

  • pBuffer
    Buffer to recieve the friendly device name.
  • pBufferLength
    Pointer to the integer containing length of the output buffer.

Return Value

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

Value Description
TRUE The friendly device is returned in the given buffer and the buffer length is updated.
FALSE The friendly device 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.