SOL9 Sample: UPnPDeviceFinder

SOL9 2.0 Samples

1 Screenshot


2 Source code

/*
 * UPnPDeviceFinder.cpp 
 * Copyright (c) 2015 Antillia.com TOSHIYUKI ARAI. ALL RIGHTS RESERVED. 
 */


// SOL9
// 2009/12/02
#include <sol/Object.h>
#include <sol/upnp/UPnPDeviceFinder.h>
#include <sol/upnp/UPnPDevices.h>


void main()
{
  CoInitialize(NULL);
  try {
  
    SOL::UPnPDeviceFinder finder;
    SOL::UPnPDevices  devices = finder.find(L"upnp:rootdevice");

    devices.display();

  } catch (...) {

  }
  CoUninitialize();
}


Last modified: 2 May 2016

Copyright (c) 2016 Antillia.com ALL RIGHTS RESERVED.