Share via


ServerInfo_t::FriendlyDeviceName (Windows Embedded CE 6.0)

1/5/2010

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

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