SOL9 2.0 Class: InterfaceGuid

 SOL9 C++ Class Library  SOL9 Samples  SOL9 Tutorial  SOL9 FAQ  SOL9 ClassTree 

Source code

/*
 * 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);
    } 
};


}

Last modified: 1 Feb 2012

Copyright (c) 2009-2012 Antillia.com ALL RIGHTS RESERVED.