internal static int CreateClassEnumWmi(string strSuperclass, int lFlags, IWbemContext pCtx, out IEnumWbemClassObject ppEnum, int impLevel, int authnLevel, IWbemServices pCurrentNamespace, string strUser, IntPtr strPassword, string strAuthority) { var svc = pCurrentNamespace as UnixWbemServices; var items = WMIDatabaseFactory.Get (svc.CurrentNamespace, "SELECT * FROM " + strSuperclass); ppEnum = new UnixEnumWbemClassObject(items); return 0; }
public int CreateInstanceEnum_(string strFilter, int lFlags, IWbemContext pCtx, out IEnumWbemClassObject ppEnum) { var items = WMIDatabaseFactory.Get(_currentNamespace, strFilter); ppEnum = new UnixEnumWbemClassObject(items); return(0); }
public int ExecQuery_(string strQueryLanguage, string strQuery, int lFlags, IWbemContext pCtx, out IEnumWbemClassObject ppEnum) { IEnumerable <IWbemClassObject_DoNotMarshal> list = WMIDatabaseFactory.Get(_currentNamespace, strQuery); ppEnum = new UnixEnumWbemClassObject(list); return(0); }
internal static int CreateInstanceEnumWmi(string strFilter, int lFlags, IWbemContext pCtx, out IEnumWbemClassObject ppEnum, int impLevel, int authnLevel, IWbemServices pCurrentNamespace, string strUser, IntPtr strPassword, string strAuthority) { var svc = pCurrentNamespace as UnixWbemServices; var items = WMIDatabaseFactory.Get(svc.CurrentNamespace, "SELECT * FROM " + strFilter); ppEnum = new UnixEnumWbemClassObject(items); return(0); }
internal static int ExecQueryWmi(string strQueryLanguage, string strQuery, int lFlags, IWbemContext pCtx, out IEnumWbemClassObject ppEnum, int impLevel, int authnLevel, IWbemServices pCurrentNamespace, string strUser, IntPtr strPassword, string strAuthority) { var svc = pCurrentNamespace as UnixWbemServices; IEnumerable <IWbemClassObject_DoNotMarshal> list = WMIDatabaseFactory.Get(svc.CurrentNamespace, strQuery); ppEnum = new UnixEnumWbemClassObject(list); return(0); }
internal static int ExecQueryWmi(string strQueryLanguage, string strQuery, int lFlags, IWbemContext pCtx, out IEnumWbemClassObject ppEnum, int impLevel, int authnLevel, IWbemServices pCurrentNamespace, string strUser, IntPtr strPassword, string strAuthority) { var svc = pCurrentNamespace as UnixWbemServices; IEnumerable<IWbemClassObject_DoNotMarshal> list = WMIDatabaseFactory.Get(svc.CurrentNamespace, strQuery); ppEnum = new UnixEnumWbemClassObject(list); return 0; }
public int ExecNotificationQuery_ (string strQueryLanguage, string strQuery, int lFlags, IWbemContext pCtx, out IEnumWbemClassObject ppEnum) { ppEnum = new UnixEnumWbemClassObject(WMIDatabaseFactory.Get (_currentNamespace, strQuery)); return 0; }
public int CreateInstanceEnum_ (string strFilter, int lFlags, IWbemContext pCtx, out IEnumWbemClassObject ppEnum) { var items = WMIDatabaseFactory.Get (_currentNamespace, strFilter); ppEnum = new UnixEnumWbemClassObject(items); return 0; }
public int ExecQuery_ (string strQueryLanguage, string strQuery, int lFlags, IWbemContext pCtx, out IEnumWbemClassObject ppEnum) { IEnumerable<IWbemClassObject_DoNotMarshal> list = WMIDatabaseFactory.Get(_currentNamespace, strQuery); ppEnum = new UnixEnumWbemClassObject(list); return 0; }
public int ExecNotificationQuery_(string strQueryLanguage, string strQuery, int lFlags, IWbemContext pCtx, out IEnumWbemClassObject ppEnum) { ppEnum = new UnixEnumWbemClassObject(WMIDatabaseFactory.Get(_currentNamespace, strQuery)); return(0); }