public void GetObjectInformation(IntPtr pObjectInfo)
        {
            SiObjectInfo object_info = new SiObjectInfo();

            object_info.dwFlags       = SiObjectInfoFlags.SI_READONLY | SiObjectInfoFlags.SI_ADVANCED;
            object_info.pszObjectName = _obj_name.DangerousGetHandle();
            Marshal.StructureToPtr(object_info, pObjectInfo, false);
        }
 public void GetObjectInformation(IntPtr pObjectInfo)
 {
     SiObjectInfo object_info = new SiObjectInfo();
     object_info.dwFlags = SiObjectInfoFlags.SI_READONLY | SiObjectInfoFlags.SI_ADVANCED;
     object_info.pszObjectName = _obj_name.DangerousGetHandle();
     Marshal.StructureToPtr(object_info, pObjectInfo, false);
 }