예제 #1
0
파일: structs.cs 프로젝트: qmgindi/Au
 public VARIANT(string x) : this()
 {
     vt = Api.VARENUM.VT_BSTR; value = Marshal.StringToBSTR(x);
 }
예제 #2
0
파일: structs.cs 프로젝트: qmgindi/Au
        //note: cannot use FieldOffset because of different 32/64 bit size

        public VARIANT(int x) : this()
        {
            vt = Api.VARENUM.VT_I4; value = x;
        }