/*
* InterfaceGuid.h
* Copyright (c) 2011 Antillia.com TOSHIYUKI ARAI. ALL RIGHTS RESERVED.
*/
// SOL9
// 2011/1/1
// 2012/1/1 Updated
#include <sol/Object.h>
#include <sol/StringT.h>
namespace SOL {
class InterfaceGuid :public Object {
private:
GUID guid;
public:
InterfaceGuid(__in const GUID id)
:guid(id)
{
}
public:
NETIO_STATUS toLuid(__out NET_LUID *luid)
{
return toLuid(&guid, luid);
}
public:
static NETIO_STATUS toLuid(__const GUID* guid, __out NET_LUID *luid)
{
//If sucess, this returns NO_ERROR
return ConvertInterfaceGuidToLuid(guid, luid);
}
};
}
|