Пример #1
0
 // Change these 2 functions to use byte[] insteadd of NativeArray<byte>, and maybe string instead of ReadonlyNativeString
 public unsafe Status GetDriverName(NativeArray <byte> language, out ReadonlyNativeString name) {
     fixed(ComponentName2Protocol *_this = &this)
     fixed(ReadonlyNativeString * _name = &name)
     return((Status)RawCalliHelper.StdCall(_GetDriverName, _this, language, _name));
 }
Пример #2
0
 public unsafe Status GetControllerName(Handle controller, Handle child, NativeArray <byte> language, out ReadonlyNativeString name) {
     fixed(ComponentName2Protocol *_this = &this)
     fixed(ReadonlyNativeString * _name = &name)
     return((Status)RawCalliHelper.StdCall(_GetControllerName, _this, controller, child, language, _name));
 }
Пример #3
0
 public unsafe Status TestString(ReadonlyNativeString str) {
     fixed(SimpleTextOutputProtocol *_this = &this)
     return((Status)RawCalliHelper.StdCall(_TestString, _this, str));
 }