SOL9 2.0 Class: InterfaceName

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

Source code

/*
 * InterfaceName.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 InterfaceName :public Object {

private:
    StringT<TCHAR> name;

public:
    InterfaceName(__in const TCHAR* string)
    :name(string);
    {
    }

public:
    
    NETIO_STATUS toLuid(__out NET_LUID *luid)
    {
        return toLuid((const TCHAR*)name, luid);
    } 

public:
    
    static NETIO_STATUS toLuid(__const TCHAR* name, __out NET_LUID *luid)
    {
        return ConvertInterfaceNameToLuid(name, luid);
    } 
};


}

Last modified: 1 Feb 2012

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