/*
* InterfaceAlias.h
* Copyright (c) 2011 Antillia.com TOSHIYUKI ARAI. ALL RIGHTS RESERVED.
*/
// SOL9
// 2011/1/1
#include <sol/Object.h>
#include <sol/StringT.h>
namespace SOL {
class InterfaceAlias :public Object {
private:
StringT<wchar_t> name;
public:
InterfaceName(__in const wchar_t* string)
:name(string)
{
}
public:
NETIO_STATUS toLuid(__out NET_LUID *luid)
{
return toLuid((const wchar_t*)name, luid);
}
public:
static NETIO_STATUS toLuid(__const wchar_t* name, __out NET_LUID *luid)
{
//If sucess, this returns NO_ERROR
return ConvertInterfaceAliasToLuid(name, luid);
}
};
}
|