Lines Matching defs:nsresult
268 typedef PRUint32 nsresult;
566 #define NS_ERROR_BASE ((nsresult) 0xC1F30000)
575 #define NS_ERROR_NOT_IMPLEMENTED ((nsresult) 0x80004001L)
578 #define NS_NOINTERFACE ((nsresult) 0x80004002L)
581 #define NS_ERROR_INVALID_POINTER ((nsresult) 0x80004003L)
585 #define NS_ERROR_ABORT ((nsresult) 0x80004004L)
588 #define NS_ERROR_FAILURE ((nsresult) 0x80004005L)
591 #define NS_ERROR_UNEXPECTED ((nsresult) 0x8000ffffL)
594 #define NS_ERROR_OUT_OF_MEMORY ((nsresult) 0x8007000eL)
597 #define NS_ERROR_ILLEGAL_VALUE ((nsresult) 0x80070057L)
601 #define NS_ERROR_NO_AGGREGATION ((nsresult) 0x80040110L)
604 #define NS_ERROR_NOT_AVAILABLE ((nsresult) 0x80040111L)
607 #define NS_ERROR_FACTORY_NOT_REGISTERED ((nsresult) 0x80040154L)
610 #define NS_ERROR_FACTORY_REGISTER_AGAIN ((nsresult) 0x80040155L)
613 #define NS_ERROR_FACTORY_NOT_LOADED ((nsresult) 0x800401f8L)
687 nsresult (*QueryInterface)(nsISupports *pThis, const nsID *iid, void **resultp);
695 nsresult (*AddRef)(nsISupports *pThis);
704 nsresult (*Release)(nsISupports *pThis);
725 nsresult (*GetMessage)(nsIException *pThis, PRUnichar * *aMessage);
727 /* readonly attribute nsresult (*result; */
728 nsresult (*GetResult)(nsIException *pThis, nsresult *aResult);
731 nsresult (*GetName)(nsIException *pThis, PRUnichar * *aName);
734 nsresult (*GetFilename)(nsIException *pThis, PRUnichar * *aFilename);
737 nsresult (*GetLineNumber)(nsIException *pThis, PRUint32 *aLineNumber);
740 nsresult (*GetColumnNumber)(nsIException *pThis, PRUint32 *aColumnNumber);
743 nsresult (*GetLocation)(nsIException *pThis, nsIStackFrame * *aLocation);
746 nsresult (*GetInner)(nsIException *pThis, nsIException * *aInner);
749 nsresult (*GetData)(nsIException *pThis, nsISupports * *aData);
752 nsresult (*ToString)(nsIException *pThis, PRUnichar **_retval);
772 nsresult (*GetLanguage)(nsIStackFrame *pThis, PRUint32 *aLanguage);
775 nsresult (*GetLanguageName)(nsIStackFrame *pThis, PRUnichar * *aLanguageName);
778 nsresult (*GetFilename)(nsIStackFrame *pThis, PRUnichar * *aFilename);
781 nsresult (*GetName)(nsIStackFrame *pThis, PRUnichar * *aName);
784 nsresult (*GetLineNumber)(nsIStackFrame *pThis, PRInt32 *aLineNumber);
787 nsresult (*GetSourceLine)(nsIStackFrame *pThis, PRUnichar * *aSourceLine);
790 nsresult (*GetCaller)(nsIStackFrame *pThis, nsIStackFrame * *aCaller);
793 nsresult (*ToString)(nsIStackFrame *pThis, PRUnichar **_retval);
814 nsresult (*PostEvent)(nsIEventTarget *pThis, PLEvent * aEvent);
816 nsresult (*IsOnCurrentThread)(nsIEventTarget *pThis, PRBool *_retval);
838 nsresult (*InitEvent)(nsIEventQueue *pThis, PLEvent * aEvent, void * owner, PLHandleEventProc handler, PLDestroyEventProc destructor);
840 nsresult (*PostSynchronousEvent)(nsIEventQueue *pThis, PLEvent * aEvent, void * *aResult);
842 nsresult (*PendingEvents)(nsIEventQueue *pThis, PRBool *_retval);
844 nsresult (*ProcessPendingEvents)(nsIEventQueue *pThis);
846 nsresult (*EventLoop)(nsIEventQueue *pThis);
848 nsresult (*EventAvailable)(nsIEventQueue *pThis, PRBool *aResult);
850 nsresult (*GetEvent)(nsIEventQueue *pThis, PLEvent * *_retval);
852 nsresult (*HandleEvent)(nsIEventQueue *pThis, PLEvent * aEvent);
854 nsresult (*WaitForEvent)(nsIEventQueue *pThis, PLEvent * *_retval);
858 nsresult (*Init)(nsIEventQueue *pThis, PRBool aNative);
860 nsresult (*InitFromPRThread)(nsIEventQueue *pThis, PRThread * thread, PRBool aNative);
862 nsresult (*InitFromPLQueue)(nsIEventQueue *pThis, PLEventQueue * aQueue);
864 nsresult (*EnterMonitor)(nsIEventQueue *pThis);
866 nsresult (*ExitMonitor)(nsIEventQueue *pThis);
868 nsresult (*RevokeEvents)(nsIEventQueue *pThis, void * owner);
870 nsresult (*GetPLEventQueue)(nsIEventQueue *pThis, PLEventQueue * *_retval);
872 nsresult (*IsQueueNative)(nsIEventQueue *pThis, PRBool *_retval);
874 nsresult (*StopAcceptingEvents)(nsIEventQueue *pThis);
1731 nsresult (*GetResultCode)(IVirtualBoxErrorInfo *pThis, PRInt32 *resultCode);
1733 nsresult (*GetInterfaceID)(IVirtualBoxErrorInfo *pThis, PRUnichar * *interfaceID);
1735 nsresult (*GetComponent)(IVirtualBoxErrorInfo *pThis, PRUnichar * *component);
1737 nsresult (*GetText)(IVirtualBoxErrorInfo *pThis, PRUnichar * *text);
1739 nsresult (*GetNext)(IVirtualBoxErrorInfo *pThis, IVirtualBoxErrorInfo * *next);
1760 nsresult (*SetLocalObject)(
1784 nsresult (*OnMachineStateChange)(
1790 nsresult (*OnMachineDataChange)(
1795 nsresult (*OnExtraDataCanChange)(
1804 nsresult (*OnExtraDataChange)(
1811 nsresult (*OnMediumRegistered)(
1818 nsresult (*OnMachineRegistered)(
1824 nsresult (*OnSessionStateChange)(
1830 nsresult (*OnSnapshotTaken)(
1836 nsresult (*OnSnapshotDiscarded)(
1842 nsresult (*OnSnapshotChange)(
1848 nsresult (*OnGuestPropertyChange)(
1875 nsresult (*GetEnabled)(IDHCPServer *pThis, PRBool *enabled);
1876 nsresult (*SetEnabled)(IDHCPServer *pThis, PRBool enabled);
1878 nsresult (*GetIPAddress)(IDHCPServer *pThis, PRUnichar * *IPAddress);
1880 nsresult (*GetNetworkMask)(IDHCPServer *pThis, PRUnichar * *networkMask);
1882 nsresult (*GetNetworkName)(IDHCPServer *pThis, PRUnichar * *networkName);
1884 nsresult (*GetLowerIP)(IDHCPServer *pThis, PRUnichar * *lowerIP);
1886 nsresult (*GetUpperIP)(IDHCPServer *pThis, PRUnichar * *upperIP);
1888 nsresult (*SetConfiguration)(
1896 nsresult (*Start)(
1903 nsresult (*Stop)(IDHCPServer *pThis );
1924 nsresult (*GetVersion)(IVirtualBox *pThis, PRUnichar * *version);
1926 nsresult (*GetRevision)(IVirtualBox *pThis, PRUint32 *revision);
1928 nsresult (*GetPackageType)(IVirtualBox *pThis, PRUnichar * *packageType);
1930 nsresult (*GetHomeFolder)(IVirtualBox *pThis, PRUnichar * *homeFolder);
1932 nsresult (*GetSettingsFilePath)(IVirtualBox *pThis, PRUnichar * *settingsFilePath);
1934 nsresult (*GetHost)(IVirtualBox *pThis, IHost * *host);
1936 nsresult (*GetSystemProperties)(IVirtualBox *pThis, ISystemProperties * *systemProperties);
1938 nsresult (*GetMachines)(IVirtualBox *pThis, PRUint32 *machinesSize, IMachine * **machines);
1940 nsresult (*GetHardDisks)(IVirtualBox *pThis, PRUint32 *hardDisksSize, IMedium * **hardDisks);
1942 nsresult (*GetDVDImages)(IVirtualBox *pThis, PRUint32 *DVDImagesSize, IMedium * **DVDImages);
1944 nsresult (*GetFloppyImages)(IVirtualBox *pThis, PRUint32 *floppyImagesSize, IMedium * **floppyImages);
1946 nsresult (*GetProgressOperations)(IVirtualBox *pThis, PRUint32 *progressOperationsSize, IProgress * **progressOperations);
1948 nsresult (*GetGuestOSTypes)(IVirtualBox *pThis, PRUint32 *guestOSTypesSize, IGuestOSType * **guestOSTypes);
1950 nsresult (*GetSharedFolders)(IVirtualBox *pThis, PRUint32 *sharedFoldersSize, ISharedFolder * **sharedFolders);
1952 nsresult (*GetPerformanceCollector)(IVirtualBox *pThis, IPerformanceCollector * *performanceCollector);
1954 nsresult (*GetDHCPServers)(IVirtualBox *pThis, PRUint32 *DHCPServersSize, IDHCPServer * **DHCPServers);
1956 nsresult (*CreateMachine)(
1965 nsresult (*CreateLegacyMachine)(
1974 nsresult (*OpenMachine)(
1980 nsresult (*RegisterMachine)(
1985 nsresult (*GetMachine)(
1991 nsresult (*FindMachine)(
1997 nsresult (*UnregisterMachine)(
2003 nsresult (*CreateAppliance)(
2008 nsresult (*CreateHardDisk)(
2015 nsresult (*OpenHardDisk)(
2026 nsresult (*GetHardDisk)(
2032 nsresult (*FindHardDisk)(
2038 nsresult (*OpenDVDImage)(
2045 nsresult (*GetDVDImage)(
2051 nsresult (*FindDVDImage)(
2057 nsresult (*OpenFloppyImage)(
2064 nsresult (*GetFloppyImage)(
2070 nsresult (*FindFloppyImage)(
2076 nsresult (*GetGuestOSType)(
2082 nsresult (*CreateSharedFolder)(
2089 nsresult (*RemoveSharedFolder)(
2094 nsresult (*GetExtraDataKeys)(
2100 nsresult (*GetExtraData)(
2106 nsresult (*SetExtraData)(
2112 nsresult (*OpenSession)(
2118 nsresult (*OpenRemoteSession)(
2127 nsresult (*OpenExistingSession)(
2133 nsresult (*RegisterCallback)(
2138 nsresult (*UnregisterCallback)(
2143 nsresult (*WaitForPropertyChange)(
2151 nsresult (*CreateDHCPServer)(
2157 nsresult (*FindDHCPServerByNetworkName)(
2163 nsresult (*RemoveDHCPServer)(
2168 nsresult (*CheckFirmwarePresent)(
2196 nsresult (*GetPath)(IVFSExplorer *pThis, PRUnichar * *path);
2198 nsresult (*GetType)(IVFSExplorer *pThis, PRUint32 *type);
2200 nsresult (*Update)(
2205 nsresult (*Cd)(
2211 nsresult (*CdUp)(
2216 nsresult (*EntryList)(
2224 nsresult (*Exists)(
2232 nsresult (*Remove)(
2258 nsresult (*GetPath)(IAppliance *pThis, PRUnichar * *path);
2260 nsresult (*GetDisks)(IAppliance *pThis, PRUint32 *disksSize, PRUnichar * **disks);
2262 nsresult (*GetVirtualSystemDescriptions)(IAppliance *pThis, PRUint32 *virtualSystemDescriptionsSize, IVirtualSystemDescription * **virtualSystemDescriptions);
2264 nsresult (*Read)(
2270 nsresult (*Interpret)(IAppliance *pThis );
2272 nsresult (*ImportMachines)(
2277 nsresult (*CreateVFSExplorer)(
2283 nsresult (*Write)(
2290 nsresult (*GetWarnings)(
2315 nsresult (*GetCount)(IVirtualSystemDescription *pThis, PRUint32 *count);
2317 nsresult (*GetDescription)(
2331 nsresult (*GetDescriptionByType)(
2346 nsresult (*GetValuesByType)(
2354 nsresult (*SetFinalValues)(
2364 nsresult (*AddDescription)(
2390 nsresult (*SetRemoveSavedState)(
2395 nsresult (*UpdateState)(
2400 nsresult (*GetIPCId)(
2405 nsresult (*RunUSBDeviceFilters)(
2412 nsresult (*CaptureUSBDevice)(
2417 nsresult (*DetachUSBDevice)(
2423 nsresult (*AutoCaptureUSBDevices)(IInternalMachineControl *pThis );
2425 nsresult (*DetachAllUSBDevices)(
2430 nsresult (*OnSessionEnd)(
2436 nsresult (*BeginSavingState)(
2442 nsresult (*EndSavingState)(
2447 nsresult (*AdoptSavedState)(
2452 nsresult (*BeginTakingSnapshot)(
2462 nsresult (*EndTakingSnapshot)(
2467 nsresult (*DeleteSnapshot)(
2475 nsresult (*RestoreSnapshot)(
2483 nsresult (*PullGuestProperties)(
2495 nsresult (*PushGuestProperties)(
2507 nsresult (*PushGuestProperty)(
2515 nsresult (*LockMedia)(IInternalMachineControl *pThis );
2517 nsresult (*UnlockMedia)(IInternalMachineControl *pThis );
2538 nsresult (*GetLogoFadeIn)(IBIOSSettings *pThis, PRBool *logoFadeIn);
2539 nsresult (*SetLogoFadeIn)(IBIOSSettings *pThis, PRBool logoFadeIn);
2541 nsresult (*GetLogoFadeOut)(IBIOSSettings *pThis, PRBool *logoFadeOut);
2542 nsresult (*SetLogoFadeOut)(IBIOSSettings *pThis, PRBool logoFadeOut);
2544 nsresult (*GetLogoDisplayTime)(IBIOSSettings *pThis, PRUint32 *logoDisplayTime);
2545 nsresult (*SetLogoDisplayTime)(IBIOSSettings *pThis, PRUint32 logoDisplayTime);
2547 nsresult (*GetLogoImagePath)(IBIOSSettings *pThis, PRUnichar * *logoImagePath);
2548 nsresult (*SetLogoImagePath)(IBIOSSettings *pThis, PRUnichar * logoImagePath);
2550 nsresult (*GetBootMenuMode)(IBIOSSettings *pThis, PRUint32 *bootMenuMode);
2551 nsresult (*SetBootMenuMode)(IBIOSSettings *pThis, PRUint32 bootMenuMode);
2553 nsresult (*GetACPIEnabled)(IBIOSSettings *pThis, PRBool *ACPIEnabled);
2554 nsresult (*SetACPIEnabled)(IBIOSSettings *pThis, PRBool ACPIEnabled);
2556 nsresult (*GetIOAPICEnabled)(IBIOSSettings *pThis, PRBool *IOAPICEnabled);
2557 nsresult (*SetIOAPICEnabled)(IBIOSSettings *pThis, PRBool IOAPICEnabled);
2559 nsresult (*GetTimeOffset)(IBIOSSettings *pThis, PRInt64 *timeOffset);
2560 nsresult (*SetTimeOffset)(IBIOSSettings *pThis, PRInt64 timeOffset);
2562 nsresult (*GetPXEDebugEnabled)(IBIOSSettings *pThis, PRBool *PXEDebugEnabled);
2563 nsresult (*SetPXEDebugEnabled)(IBIOSSettings *pThis, PRBool PXEDebugEnabled);
2584 nsresult (*GetParent)(IMachine *pThis, IVirtualBox * *parent);
2586 nsresult (*GetAccessible)(IMachine *pThis, PRBool *accessible);
2588 nsresult (*GetAccessError)(IMachine *pThis, IVirtualBoxErrorInfo * *accessError);
2590 nsresult (*GetName)(IMachine *pThis, PRUnichar * *name);
2591 nsresult (*SetName)(IMachine *pThis, PRUnichar * name);
2593 nsresult (*GetDescription)(IMachine *pThis, PRUnichar * *description);
2594 nsresult (*SetDescription)(IMachine *pThis, PRUnichar * description);
2596 nsresult (*GetId)(IMachine *pThis, PRUnichar * *id);
2598 nsresult (*GetOSTypeId)(IMachine *pThis, PRUnichar * *OSTypeId);
2599 nsresult (*SetOSTypeId)(IMachine *pThis, PRUnichar * OSTypeId);
2601 nsresult (*GetHardwareVersion)(IMachine *pThis, PRUnichar * *HardwareVersion);
2602 nsresult (*SetHardwareVersion)(IMachine *pThis, PRUnichar * HardwareVersion);
2604 nsresult (*GetHardwareUUID)(IMachine *pThis, PRUnichar * *hardwareUUID);
2605 nsresult (*SetHardwareUUID)(IMachine *pThis, PRUnichar * hardwareUUID);
2607 nsresult (*GetCPUCount)(IMachine *pThis, PRUint32 *CPUCount);
2608 nsresult (*SetCPUCount)(IMachine *pThis, PRUint32 CPUCount);
2610 nsresult (*GetMemorySize)(IMachine *pThis, PRUint32 *memorySize);
2611 nsresult (*SetMemorySize)(IMachine *pThis, PRUint32 memorySize);
2613 nsresult (*GetMemoryBalloonSize)(IMachine *pThis, PRUint32 *memoryBalloonSize);
2614 nsresult (*SetMemoryBalloonSize)(IMachine *pThis, PRUint32 memoryBalloonSize);
2616 nsresult (*GetStatisticsUpdateInterval)(IMachine *pThis, PRUint32 *statisticsUpdateInterval);
2617 nsresult (*SetStatisticsUpdateInterval)(IMachine *pThis, PRUint32 statisticsUpdateInterval);
2619 nsresult (*GetVRAMSize)(IMachine *pThis, PRUint32 *VRAMSize);
2620 nsresult (*SetVRAMSize)(IMachine *pThis, PRUint32 VRAMSize);
2622 nsresult (*GetAccelerate3DEnabled)(IMachine *pThis, PRBool *accelerate3DEnabled);
2623 nsresult (*SetAccelerate3DEnabled)(IMachine *pThis, PRBool accelerate3DEnabled);
2625 nsresult (*GetAccelerate2DVideoEnabled)(IMachine *pThis, PRBool *accelerate2DVideoEnabled);
2626 nsresult (*SetAccelerate2DVideoEnabled)(IMachine *pThis, PRBool accelerate2DVideoEnabled);
2628 nsresult (*GetMonitorCount)(IMachine *pThis, PRUint32 *monitorCount);
2629 nsresult (*SetMonitorCount)(IMachine *pThis, PRUint32 monitorCount);
2631 nsresult (*GetBIOSSettings)(IMachine *pThis, IBIOSSettings * *BIOSSettings);
2633 nsresult (*GetFirmwareType)(IMachine *pThis, PRUint32 *firmwareType);
2634 nsresult (*SetFirmwareType)(IMachine *pThis, PRUint32 firmwareType);
2636 nsresult (*GetSnapshotFolder)(IMachine *pThis, PRUnichar * *snapshotFolder);
2637 nsresult (*SetSnapshotFolder)(IMachine *pThis, PRUnichar * snapshotFolder);
2639 nsresult (*GetVRDPServer)(IMachine *pThis, IVRDPServer * *VRDPServer);
2641 nsresult (*GetMediumAttachments)(IMachine *pThis, PRUint32 *mediumAttachmentsSize, IMediumAttachment * **mediumAttachments);
2643 nsresult (*GetUSBController)(IMachine *pThis, IUSBController * *USBController);
2645 nsresult (*GetAudioAdapter)(IMachine *pThis, IAudioAdapter * *audioAdapter);
2647 nsresult (*GetStorageControllers)(IMachine *pThis, PRUint32 *storageControllersSize, IStorageController * **storageControllers);
2649 nsresult (*GetSettingsFilePath)(IMachine *pThis, PRUnichar * *settingsFilePath);
2651 nsresult (*GetSettingsModified)(IMachine *pThis, PRBool *settingsModified);
2653 nsresult (*GetSessionState)(IMachine *pThis, PRUint32 *sessionState);
2655 nsresult (*GetSessionType)(IMachine *pThis, PRUnichar * *sessionType);
2657 nsresult (*GetSessionPid)(IMachine *pThis, PRUint32 *sessionPid);
2659 nsresult (*GetState)(IMachine *pThis, PRUint32 *state);
2661 nsresult (*GetLastStateChange)(IMachine *pThis, PRInt64 *lastStateChange);
2663 nsresult (*GetStateFilePath)(IMachine *pThis, PRUnichar * *stateFilePath);
2665 nsresult (*GetLogFolder)(IMachine *pThis, PRUnichar * *logFolder);
2667 nsresult (*GetCurrentSnapshot)(IMachine *pThis, ISnapshot * *currentSnapshot);
2669 nsresult (*GetSnapshotCount)(IMachine *pThis, PRUint32 *snapshotCount);
2671 nsresult (*GetCurrentStateModified)(IMachine *pThis, PRBool *currentStateModified);
2673 nsresult (*GetSharedFolders)(IMachine *pThis, PRUint32 *sharedFoldersSize, ISharedFolder * **sharedFolders);
2675 nsresult (*GetClipboardMode)(IMachine *pThis, PRUint32 *clipboardMode);
2676 nsresult (*SetClipboardMode)(IMachine *pThis, PRUint32 clipboardMode);
2678 nsresult (*GetGuestPropertyNotificationPatterns)(IMachine *pThis, PRUnichar * *guestPropertyNotificationPatterns);
2679 nsresult (*SetGuestPropertyNotificationPatterns)(IMachine *pThis, PRUnichar * guestPropertyNotificationPatterns);
2681 nsresult (*GetTeleporterEnabled)(IMachine *pThis, PRBool *teleporterEnabled);
2682 nsresult (*SetTeleporterEnabled)(IMachine *pThis, PRBool teleporterEnabled);
2684 nsresult (*GetTeleporterPort)(IMachine *pThis, PRUint32 *teleporterPort);
2685 nsresult (*SetTeleporterPort)(IMachine *pThis, PRUint32 teleporterPort);
2687 nsresult (*GetTeleporterAddress)(IMachine *pThis, PRUnichar * *teleporterAddress);
2688 nsresult (*SetTeleporterAddress)(IMachine *pThis, PRUnichar * teleporterAddress);
2690 nsresult (*GetTeleporterPassword)(IMachine *pThis, PRUnichar * *teleporterPassword);
2691 nsresult (*SetTeleporterPassword)(IMachine *pThis, PRUnichar * teleporterPassword);
2693 nsresult (*SetBootOrder)(
2699 nsresult (*GetBootOrder)(
2705 nsresult (*AttachDevice)(
2714 nsresult (*DetachDevice)(
2721 nsresult (*PassthroughDevice)(
2729 nsresult (*MountMedium)(
2738 nsresult (*GetMedium)(
2746 nsresult (*GetMediumAttachmentsOfController)(
2753 nsresult (*GetMediumAttachment)(
2761 nsresult (*GetNetworkAdapter)(
2767 nsresult (*AddStorageController)(
2774 nsresult (*GetStorageControllerByName)(
2780 nsresult (*GetStorageControllerByInstance)(
2786 nsresult (*RemoveStorageController)(
2791 nsresult (*GetSerialPort)(
2797 nsresult (*GetParallelPort)(
2803 nsresult (*GetExtraDataKeys)(
2809 nsresult (*GetExtraData)(
2815 nsresult (*SetExtraData)(
2821 nsresult (*GetCpuProperty)(
2827 nsresult (*SetCpuProperty)(
2833 nsresult (*GetCpuIdLeaf)(
2842 nsresult (*SetCpuIdLeaf)(
2851 nsresult (*RemoveCpuIdLeaf)(
2856 nsresult (*RemoveAllCpuIdLeafs)(IMachine *pThis );
2858 nsresult (*GetHWVirtExProperty)(
2864 nsresult (*SetHWVirtExProperty)(
2870 nsresult (*SaveSettings)(IMachine *pThis );
2872 nsresult (*DiscardSettings)(IMachine *pThis );
2874 nsresult (*DeleteSettings)(IMachine *pThis );
2876 nsresult (*Export)(
2882 nsresult (*GetSnapshot)(
2888 nsresult (*FindSnapshot)(
2894 nsresult (*SetCurrentSnapshot)(
2899 nsresult (*CreateSharedFolder)(
2906 nsresult (*RemoveSharedFolder)(
2911 nsresult (*CanShowConsoleWindow)(
2916 nsresult (*ShowConsoleWindow)(
2921 nsresult (*GetGuestProperty)(
2929 nsresult (*GetGuestPropertyValue)(
2935 nsresult (*GetGuestPropertyTimestamp)(
2941 nsresult (*SetGuestProperty)(
2948 nsresult (*SetGuestPropertyValue)(
2954 nsresult (*EnumerateGuestProperties)(
2967 nsresult (*QuerySavedThumbnailSize)(
2974 nsresult (*ReadSavedThumbnailToArray)(
2983 nsresult (*QuerySavedScreenshotPNGSize)(
2990 nsresult (*ReadSavedScreenshotPNGToArray)(
3017 nsresult (*OnMousePointerShapeChange)(
3028 nsresult (*OnMouseCapabilityChange)(
3034 nsresult (*OnKeyboardLedsChange)(
3041 nsresult (*OnStateChange)(
3046 nsresult (*OnAdditionsStateChange)(IConsoleCallback *pThis );
3048 nsresult (*OnNetworkAdapterChange)(
3053 nsresult (*OnSerialPortChange)(
3058 nsresult (*OnParallelPortChange)(
3063 nsresult (*OnStorageControllerChange)(IConsoleCallback *pThis );
3065 nsresult (*OnMediumChange)(
3070 nsresult (*OnVRDPServerChange)(IConsoleCallback *pThis );
3072 nsresult (*OnRemoteDisplayInfoChange)(IConsoleCallback *pThis );
3074 nsresult (*OnUSBControllerChange)(IConsoleCallback *pThis );
3076 nsresult (*OnUSBDeviceStateChange)(
3083 nsresult (*OnSharedFolderChange)(
3088 nsresult (*OnRuntimeError)(
3095 nsresult (*OnCanShowWindow)(
3100 nsresult (*OnShowWindow)(
3124 nsresult (*GetActive)(IRemoteDisplayInfo *pThis, PRBool *active);
3126 nsresult (*GetPort)(IRemoteDisplayInfo *pThis, PRInt32 *port);
3128 nsresult (*GetNumberOfClients)(IRemoteDisplayInfo *pThis, PRUint32 *numberOfClients);
3130 nsresult (*GetBeginTime)(IRemoteDisplayInfo *pThis, PRInt64 *beginTime);
3132 nsresult (*GetEndTime)(IRemoteDisplayInfo *pThis, PRInt64 *endTime);
3134 nsresult (*GetBytesSent)(IRemoteDisplayInfo *pThis, PRUint64 *bytesSent);
3136 nsresult (*GetBytesSentTotal)(IRemoteDisplayInfo *pThis, PRUint64 *bytesSentTotal);
3138 nsresult (*GetBytesReceived)(IRemoteDisplayInfo *pThis, PRUint64 *bytesReceived);
3140 nsresult (*GetBytesReceivedTotal)(IRemoteDisplayInfo *pThis, PRUint64 *bytesReceivedTotal);
3142 nsresult (*GetUser)(IRemoteDisplayInfo *pThis, PRUnichar * *user);
3144 nsresult (*GetDomain)(IRemoteDisplayInfo *pThis, PRUnichar * *domain);
3146 nsresult (*GetClientName)(IRemoteDisplayInfo *pThis, PRUnichar * *clientName);
3148 nsresult (*GetClientIP)(IRemoteDisplayInfo *pThis, PRUnichar * *clientIP);
3150 nsresult (*GetClientVersion)(IRemoteDisplayInfo *pThis, PRUint32 *clientVersion);
3152 nsresult (*GetEncryptionStyle)(IRemoteDisplayInfo *pThis, PRUint32 *encryptionStyle);
3173 nsresult (*GetMachine)(IConsole *pThis, IMachine * *machine);
3175 nsresult (*GetState)(IConsole *pThis, PRUint32 *state);
3177 nsresult (*GetGuest)(IConsole *pThis, IGuest * *guest);
3179 nsresult (*GetKeyboard)(IConsole *pThis, IKeyboard * *keyboard);
3181 nsresult (*GetMouse)(IConsole *pThis, IMouse * *mouse);
3183 nsresult (*GetDisplay)(IConsole *pThis, IDisplay * *display);
3185 nsresult (*GetDebugger)(IConsole *pThis, IMachineDebugger * *debugger);
3187 nsresult (*GetUSBDevices)(IConsole *pThis, PRUint32 *USBDevicesSize, IUSBDevice * **USBDevices);
3189 nsresult (*GetRemoteUSBDevices)(IConsole *pThis, PRUint32 *remoteUSBDevicesSize, IHostUSBDevice * **remoteUSBDevices);
3191 nsresult (*GetSharedFolders)(IConsole *pThis, PRUint32 *sharedFoldersSize, ISharedFolder * **sharedFolders);
3193 nsresult (*GetRemoteDisplayInfo)(IConsole *pThis, IRemoteDisplayInfo * *remoteDisplayInfo);
3195 nsresult (*PowerUp)(
3200 nsresult (*PowerUpPaused)(
3205 nsresult (*PowerDown)(
3210 nsresult (*Reset)(IConsole *pThis );
3212 nsresult (*Pause)(IConsole *pThis );
3214 nsresult (*Resume)(IConsole *pThis );
3216 nsresult (*PowerButton)(IConsole *pThis );
3218 nsresult (*SleepButton)(IConsole *pThis );
3220 nsresult (*GetPowerButtonHandled)(
3225 nsresult (*GetGuestEnteredACPIMode)(
3230 nsresult (*SaveState)(
3235 nsresult (*AdoptSavedState)(
3240 nsresult (*ForgetSavedState)(
3245 nsresult (*GetDeviceActivity)(
3251 nsresult (*AttachUSBDevice)(
3256 nsresult (*DetachUSBDevice)(
3262 nsresult (*FindUSBDeviceByAddress)(
3268 nsresult (*FindUSBDeviceById)(
3274 nsresult (*CreateSharedFolder)(
3281 nsresult (*RemoveSharedFolder)(
3286 nsresult (*TakeSnapshot)(
3293 nsresult (*DeleteSnapshot)(
3299 nsresult (*RestoreSnapshot)(
3305 nsresult (*Teleport)(
3314 nsresult (*RegisterCallback)(
3319 nsresult (*UnregisterCallback)(
3343 nsresult (*GetName)(IHostNetworkInterface *pThis, PRUnichar * *name);
3345 nsresult (*GetId)(IHostNetworkInterface *pThis, PRUnichar * *id);
3347 nsresult (*GetNetworkName)(IHostNetworkInterface *pThis, PRUnichar * *networkName);
3349 nsresult (*GetDhcpEnabled)(IHostNetworkInterface *pThis, PRBool *dhcpEnabled);
3351 nsresult (*GetIPAddress)(IHostNetworkInterface *pThis, PRUnichar * *IPAddress);
3353 nsresult (*GetNetworkMask)(IHostNetworkInterface *pThis, PRUnichar * *networkMask);
3355 nsresult (*GetIPV6Supported)(IHostNetworkInterface *pThis, PRBool *IPV6Supported);
3357 nsresult (*GetIPV6Address)(IHostNetworkInterface *pThis, PRUnichar * *IPV6Address);
3359 nsresult (*GetIPV6NetworkMaskPrefixLength)(IHostNetworkInterface *pThis, PRUint32 *IPV6NetworkMaskPrefixLength);
3361 nsresult (*GetHardwareAddress)(IHostNetworkInterface *pThis, PRUnichar * *hardwareAddress);
3363 nsresult (*GetMediumType)(IHostNetworkInterface *pThis, PRUint32 *mediumType);
3365 nsresult (*GetStatus)(IHostNetworkInterface *pThis, PRUint32 *status);
3367 nsresult (*GetInterfaceType)(IHostNetworkInterface *pThis, PRUint32 *interfaceType);
3369 nsresult (*EnableStaticIpConfig)(
3375 nsresult (*EnableStaticIpConfigV6)(
3381 nsresult (*EnableDynamicIpConfig)(IHostNetworkInterface *pThis );
3383 nsresult (*DhcpRediscover)(IHostNetworkInterface *pThis );
3404 nsresult (*GetDVDDrives)(IHost *pThis, PRUint32 *DVDDrivesSize, IMedium * **DVDDrives);
3406 nsresult (*GetFloppyDrives)(IHost *pThis, PRUint32 *floppyDrivesSize, IMedium * **floppyDrives);
3408 nsresult (*GetUSBDevices)(IHost *pThis, PRUint32 *USBDevicesSize, IHostUSBDevice * **USBDevices);
3410 nsresult (*GetUSBDeviceFilters)(IHost *pThis, PRUint32 *USBDeviceFiltersSize, IHostUSBDeviceFilter * **USBDeviceFilters);
3412 nsresult (*GetNetworkInterfaces)(IHost *pThis, PRUint32 *networkInterfacesSize, IHostNetworkInterface * **networkInterfaces);
3414 nsresult (*GetProcessorCount)(IHost *pThis, PRUint32 *processorCount);
3416 nsresult (*GetProcessorOnlineCount)(IHost *pThis, PRUint32 *processorOnlineCount);
3418 nsresult (*GetMemorySize)(IHost *pThis, PRUint32 *memorySize);
3420 nsresult (*GetMemoryAvailable)(IHost *pThis, PRUint32 *memoryAvailable);
3422 nsresult (*GetOperatingSystem)(IHost *pThis, PRUnichar * *operatingSystem);
3424 nsresult (*GetOSVersion)(IHost *pThis, PRUnichar * *OSVersion);
3426 nsresult (*GetUTCTime)(IHost *pThis, PRInt64 *UTCTime);
3428 nsresult (*GetAcceleration3DAvailable)(IHost *pThis, PRBool *Acceleration3DAvailable);
3430 nsresult (*GetProcessorSpeed)(
3436 nsresult (*GetProcessorFeature)(
3442 nsresult (*GetProcessorDescription)(
3448 nsresult (*GetProcessorCpuIdLeaf)(
3459 nsresult (*CreateHostOnlyNetworkInterface)(
3465 nsresult (*RemoveHostOnlyNetworkInterface)(
3471 nsresult (*CreateUSBDeviceFilter)(
3477 nsresult (*InsertUSBDeviceFilter)(
3483 nsresult (*RemoveUSBDeviceFilter)(
3488 nsresult (*FindHostDVDDrive)(
3494 nsresult (*FindHostFloppyDrive)(
3500 nsresult (*FindHostNetworkInterfaceByName)(
3506 nsresult (*FindHostNetworkInterfaceById)(
3512 nsresult (*FindHostNetworkInterfacesOfType)(
3519 nsresult (*FindUSBDeviceById)(
3525 nsresult (*FindUSBDeviceByAddress)(
3550 nsresult (*GetMinGuestRAM)(ISystemProperties *pThis, PRUint32 *minGuestRAM);
3552 nsresult (*GetMaxGuestRAM)(ISystemProperties *pThis, PRUint32 *maxGuestRAM);
3554 nsresult (*GetMinGuestVRAM)(ISystemProperties *pThis, PRUint32 *minGuestVRAM);
3556 nsresult (*GetMaxGuestVRAM)(ISystemProperties *pThis, PRUint32 *maxGuestVRAM);
3558 nsresult (*GetMinGuestCPUCount)(ISystemProperties *pThis, PRUint32 *minGuestCPUCount);
3560 nsresult (*GetMaxGuestCPUCount)(ISystemProperties *pThis, PRUint32 *maxGuestCPUCount);
3562 nsresult (*GetMaxVDISize)(ISystemProperties *pThis, PRUint64 *maxVDISize);
3564 nsresult (*GetNetworkAdapterCount)(ISystemProperties *pThis, PRUint32 *networkAdapterCount);
3566 nsresult (*GetSerialPortCount)(ISystemProperties *pThis, PRUint32 *serialPortCount);
3568 nsresult (*GetParallelPortCount)(ISystemProperties *pThis, PRUint32 *parallelPortCount);
3570 nsresult (*GetMaxBootPosition)(ISystemProperties *pThis, PRUint32 *maxBootPosition);
3572 nsresult (*GetDefaultMachineFolder)(ISystemProperties *pThis, PRUnichar * *defaultMachineFolder);
3573 nsresult (*SetDefaultMachineFolder)(ISystemProperties *pThis, PRUnichar * defaultMachineFolder);
3575 nsresult (*GetDefaultHardDiskFolder)(ISystemProperties *pThis, PRUnichar * *defaultHardDiskFolder);
3576 nsresult (*SetDefaultHardDiskFolder)(ISystemProperties *pThis, PRUnichar * defaultHardDiskFolder);
3578 nsresult (*GetMediumFormats)(ISystemProperties *pThis, PRUint32 *mediumFormatsSize, IMediumFormat * **mediumFormats);
3580 nsresult (*GetDefaultHardDiskFormat)(ISystemProperties *pThis, PRUnichar * *defaultHardDiskFormat);
3581 nsresult (*SetDefaultHardDiskFormat)(ISystemProperties *pThis, PRUnichar * defaultHardDiskFormat);
3583 nsresult (*GetRemoteDisplayAuthLibrary)(ISystemProperties *pThis, PRUnichar * *remoteDisplayAuthLibrary);
3584 nsresult (*SetRemoteDisplayAuthLibrary)(ISystemProperties *pThis, PRUnichar * remoteDisplayAuthLibrary);
3586 nsresult (*GetWebServiceAuthLibrary)(ISystemProperties *pThis, PRUnichar * *webServiceAuthLibrary);
3587 nsresult (*SetWebServiceAuthLibrary)(ISystemProperties *pThis, PRUnichar * webServiceAuthLibrary);
3589 nsresult (*GetLogHistoryCount)(ISystemProperties *pThis, PRUint32 *LogHistoryCount);
3590 nsresult (*SetLogHistoryCount)(ISystemProperties *pThis, PRUint32 LogHistoryCount);
3592 nsresult (*GetDefaultAudioDriver)(ISystemProperties *pThis, PRUint32 *defaultAudioDriver);
3594 nsresult (*GetMaxDevicesPerPortForStorageBus)(
3600 nsresult (*GetMinPortCountForStorageBus)(
3606 nsresult (*GetMaxPortCountForStorageBus)(
3612 nsresult (*GetMaxInstancesOfStorageBus)(
3618 nsresult (*GetDeviceTypesForStorageBus)(
3644 nsresult (*GetFamilyId)(IGuestOSType *pThis, PRUnichar * *familyId);
3646 nsresult (*GetFamilyDescription)(IGuestOSType *pThis, PRUnichar * *familyDescription);
3648 nsresult (*GetId)(IGuestOSType *pThis, PRUnichar * *id);
3650 nsresult (*GetDescription)(IGuestOSType *pThis, PRUnichar * *description);
3652 nsresult (*GetIs64Bit)(IGuestOSType *pThis, PRBool *is64Bit);
3654 nsresult (*GetRecommendedIOAPIC)(IGuestOSType *pThis, PRBool *recommendedIOAPIC);
3656 nsresult (*GetRecommendedVirtEx)(IGuestOSType *pThis, PRBool *recommendedVirtEx);
3658 nsresult (*GetRecommendedRAM)(IGuestOSType *pThis, PRUint32 *recommendedRAM);
3660 nsresult (*GetRecommendedVRAM)(IGuestOSType *pThis, PRUint32 *recommendedVRAM);
3662 nsresult (*GetRecommendedHDD)(IGuestOSType *pThis, PRUint32 *recommendedHDD);
3664 nsresult (*GetAdapterType)(IGuestOSType *pThis, PRUint32 *adapterType);
3685 nsresult (*GetOSTypeId)(IGuest *pThis, PRUnichar * *OSTypeId);
3687 nsresult (*GetAdditionsActive)(IGuest *pThis, PRBool *additionsActive);
3689 nsresult (*GetAdditionsVersion)(IGuest *pThis, PRUnichar * *additionsVersion);
3691 nsresult (*GetSupportsSeamless)(IGuest *pThis, PRBool *supportsSeamless);
3693 nsresult (*GetSupportsGraphics)(IGuest *pThis, PRBool *supportsGraphics);
3695 nsresult (*GetMemoryBalloonSize)(IGuest *pThis, PRUint32 *memoryBalloonSize);
3696 nsresult (*SetMemoryBalloonSize)(IGuest *pThis, PRUint32 memoryBalloonSize);
3698 nsresult (*GetStatisticsUpdateInterval)(IGuest *pThis, PRUint32 *statisticsUpdateInterval);
3699 nsresult (*SetStatisticsUpdateInterval)(IGuest *pThis, PRUint32 statisticsUpdateInterval);
3701 nsresult (*SetCredentials)(
3709 nsresult (*GetStatistic)(
3735 nsresult (*GetId)(IProgress *pThis, PRUnichar * *id);
3737 nsresult (*GetDescription)(IProgress *pThis, PRUnichar * *description);
3739 nsresult (*GetInitiator)(IProgress *pThis, nsISupports * *initiator);
3741 nsresult (*GetCancelable)(IProgress *pThis, PRBool *cancelable);
3743 nsresult (*GetPercent)(IProgress *pThis, PRUint32 *percent);
3745 nsresult (*GetTimeRemaining)(IProgress *pThis, PRInt32 *timeRemaining);
3747 nsresult (*GetCompleted)(IProgress *pThis, PRBool *completed);
3749 nsresult (*GetCanceled)(IProgress *pThis, PRBool *canceled);
3751 nsresult (*GetResultCode)(IProgress *pThis, PRInt32 *resultCode);
3753 nsresult (*GetErrorInfo)(IProgress *pThis, IVirtualBoxErrorInfo * *errorInfo);
3755 nsresult (*GetOperationCount)(IProgress *pThis, PRUint32 *operationCount);
3757 nsresult (*GetOperation)(IProgress *pThis, PRUint32 *operation);
3759 nsresult (*GetOperationDescription)(IProgress *pThis, PRUnichar * *operationDescription);
3761 nsresult (*GetOperationPercent)(IProgress *pThis, PRUint32 *operationPercent);
3763 nsresult (*GetTimeout)(IProgress *pThis, PRUint32 *timeout);
3764 nsresult (*SetTimeout)(IProgress *pThis, PRUint32 timeout);
3766 nsresult (*SetCurrentOperationProgress)(
3771 nsresult (*SetNextOperation)(
3777 nsresult (*WaitForCompletion)(
3782 nsresult (*WaitForOperationCompletion)(
3788 nsresult (*Cancel)(IProgress *pThis );
3809 nsresult (*GetId)(ISnapshot *pThis, PRUnichar * *id);
3811 nsresult (*GetName)(ISnapshot *pThis, PRUnichar * *name);
3812 nsresult (*SetName)(ISnapshot *pThis, PRUnichar * name);
3814 nsresult (*GetDescription)(ISnapshot *pThis, PRUnichar * *description);
3815 nsresult (*SetDescription)(ISnapshot *pThis, PRUnichar * description);
3817 nsresult (*GetTimeStamp)(ISnapshot *pThis, PRInt64 *timeStamp);
3819 nsresult (*GetOnline)(ISnapshot *pThis, PRBool *online);
3821 nsresult (*GetMachine)(ISnapshot *pThis, IMachine * *machine);
3823 nsresult (*GetParent)(ISnapshot *pThis, ISnapshot * *parent);
3825 nsresult (*GetChildren)(ISnapshot *pThis, PRUint32 *childrenSize, ISnapshot * **children);
3846 nsresult (*GetMedium)(IMediumAttachment *pThis, IMedium * *medium);
3848 nsresult (*GetController)(IMediumAttachment *pThis, PRUnichar * *controller);
3850 nsresult (*GetPort)(IMediumAttachment *pThis, PRInt32 *port);
3852 nsresult (*GetDevice)(IMediumAttachment *pThis, PRInt32 *device);
3854 nsresult (*GetType)(IMediumAttachment *pThis, PRUint32 *type);
3856 nsresult (*GetPassthrough)(IMediumAttachment *pThis, PRBool *passthrough);
3877 nsresult (*GetId)(IMedium *pThis, PRUnichar * *id);
3879 nsresult (*GetDescription)(IMedium *pThis, PRUnichar * *description);
3880 nsresult (*SetDescription)(IMedium *pThis, PRUnichar * description);
3882 nsresult (*GetState)(IMedium *pThis, PRUint32 *state);
3884 nsresult (*GetLocation)(IMedium *pThis, PRUnichar * *location);
3885 nsresult (*SetLocation)(IMedium *pThis, PRUnichar * location);
3887 nsresult (*GetName)(IMedium *pThis, PRUnichar * *name);
3889 nsresult (*GetDeviceType)(IMedium *pThis, PRUint32 *deviceType);
3891 nsresult (*GetHostDrive)(IMedium *pThis, PRBool *hostDrive);
3893 nsresult (*GetSize)(IMedium *pThis, PRUint64 *size);
3895 nsresult (*GetFormat)(IMedium *pThis, PRUnichar * *format);
3897 nsresult (*GetType)(IMedium *pThis, PRUint32 *type);
3898 nsresult (*SetType)(IMedium *pThis, PRUint32 type);
3900 nsresult (*GetParent)(IMedium *pThis, IMedium * *parent);
3902 nsresult (*GetChildren)(IMedium *pThis, PRUint32 *childrenSize, IMedium * **children);
3904 nsresult (*GetBase)(IMedium *pThis, IMedium * *base);
3906 nsresult (*GetReadOnly)(IMedium *pThis, PRBool *readOnly);
3908 nsresult (*GetLogicalSize)(IMedium *pThis, PRUint64 *logicalSize);
3910 nsresult (*GetAutoReset)(IMedium *pThis, PRBool *autoReset);
3911 nsresult (*SetAutoReset)(IMedium *pThis, PRBool autoReset);
3913 nsresult (*GetLastAccessError)(IMedium *pThis, PRUnichar * *lastAccessError);
3915 nsresult (*GetMachineIds)(IMedium *pThis, PRUint32 *machineIdsSize, PRUnichar * **machineIds);
3917 nsresult (*RefreshState)(
3922 nsresult (*GetSnapshotIds)(
3929 nsresult (*LockRead)(
3934 nsresult (*UnlockRead)(
3939 nsresult (*LockWrite)(
3944 nsresult (*UnlockWrite)(
3949 nsresult (*Close)(IMedium *pThis );
3951 nsresult (*GetProperty)(
3957 nsresult (*SetProperty)(
3963 nsresult (*GetProperties)(
3972 nsresult (*SetProperties)(
3980 nsresult (*CreateBaseStorage)(
3987 nsresult (*DeleteStorage)(
3992 nsresult (*CreateDiffStorage)(
3999 nsresult (*MergeTo)(
4005 nsresult (*CloneTo)(
4013 nsresult (*Compact)(
4018 nsresult (*Resize)(
4024 nsresult (*Reset)(
4048 nsresult (*GetId)(IMediumFormat *pThis, PRUnichar * *id);
4050 nsresult (*GetName)(IMediumFormat *pThis, PRUnichar * *name);
4052 nsresult (*GetFileExtensions)(IMediumFormat *pThis, PRUint32 *fileExtensionsSize, PRUnichar * **fileExtensions);
4054 nsresult (*GetCapabilities)(IMediumFormat *pThis, PRUint32 *capabilities);
4056 nsresult (*DescribeProperties)(
4089 nsresult (*PutScancode)(
4094 nsresult (*PutScancodes)(
4101 nsresult (*PutCAD)(IKeyboard *pThis );
4122 nsresult (*GetAbsoluteSupported)(IMouse *pThis, PRBool *absoluteSupported);
4124 nsresult (*PutMouseEvent)(
4133 nsresult (*PutMouseEventAbsolute)(
4161 nsresult (*GetAddress)(IFramebuffer *pThis, PRUint8 * *address);
4163 nsresult (*GetWidth)(IFramebuffer *pThis, PRUint32 *width);
4165 nsresult (*GetHeight)(IFramebuffer *pThis, PRUint32 *height);
4167 nsresult (*GetBitsPerPixel)(IFramebuffer *pThis, PRUint32 *bitsPerPixel);
4169 nsresult (*GetBytesPerLine)(IFramebuffer *pThis, PRUint32 *bytesPerLine);
4171 nsresult (*GetPixelFormat)(IFramebuffer *pThis, PRUint32 *pixelFormat);
4173 nsresult (*GetUsesGuestVRAM)(IFramebuffer *pThis, PRBool *usesGuestVRAM);
4175 nsresult (*GetHeightReduction)(IFramebuffer *pThis, PRUint32 *heightReduction);
4177 nsresult (*GetOverlay)(IFramebuffer *pThis, IFramebufferOverlay * *overlay);
4179 nsresult (*GetWinId)(IFramebuffer *pThis, PRUint64 *winId);
4181 nsresult (*Lock)(IFramebuffer *pThis );
4183 nsresult (*Unlock)(IFramebuffer *pThis );
4185 nsresult (*NotifyUpdate)(
4193 nsresult (*RequestResize)(
4205 nsresult (*VideoModeSupported)(
4213 nsresult (*GetVisibleRegion)(
4220 nsresult (*SetVisibleRegion)(
4226 nsresult (*ProcessVHWACommand)(
4250 nsresult (*GetX)(IFramebufferOverlay *pThis, PRUint32 *x);
4252 nsresult (*GetY)(IFramebufferOverlay *pThis, PRUint32 *y);
4254 nsresult (*GetVisible)(IFramebufferOverlay *pThis, PRBool *visible);
4255 nsresult (*SetVisible)(IFramebufferOverlay *pThis, PRBool visible);
4257 nsresult (*GetAlpha)(IFramebufferOverlay *pThis, PRUint32 *alpha);
4258 nsresult (*SetAlpha)(IFramebufferOverlay *pThis, PRUint32 alpha);
4260 nsresult (*Move)(
4285 nsresult (*GetWidth)(IDisplay *pThis, PRUint32 *width);
4287 nsresult (*GetHeight)(IDisplay *pThis, PRUint32 *height);
4289 nsresult (*GetBitsPerPixel)(IDisplay *pThis, PRUint32 *bitsPerPixel);
4291 nsresult (*SetFramebuffer)(
4297 nsresult (*GetFramebuffer)(
4305 nsresult (*SetVideoModeHint)(
4313 nsresult (*SetSeamlessMode)(
4318 nsresult (*TakeScreenShot)(
4325 nsresult (*TakeScreenShotSlow)(
4333 nsresult (*DrawToScreen)(
4342 nsresult (*InvalidateAndUpdate)(IDisplay *pThis );
4344 nsresult (*ResizeCompleted)(
4349 nsresult (*UpdateCompleted)(IDisplay *pThis );
4351 nsresult (*CompleteVHWACommand)(
4375 nsresult (*GetAdapterType)(INetworkAdapter *pThis, PRUint32 *adapterType);
4376 nsresult (*SetAdapterType)(INetworkAdapter *pThis, PRUint32 adapterType);
4378 nsresult (*GetSlot)(INetworkAdapter *pThis, PRUint32 *slot);
4380 nsresult (*GetEnabled)(INetworkAdapter *pThis, PRBool *enabled);
4381 nsresult (*SetEnabled)(INetworkAdapter *pThis, PRBool enabled);
4383 nsresult (*GetMACAddress)(INetworkAdapter *pThis, PRUnichar * *MACAddress);
4384 nsresult (*SetMACAddress)(INetworkAdapter *pThis, PRUnichar * MACAddress);
4386 nsresult (*GetAttachmentType)(INetworkAdapter *pThis, PRUint32 *attachmentType);
4388 nsresult (*GetHostInterface)(INetworkAdapter *pThis, PRUnichar * *hostInterface);
4389 nsresult (*SetHostInterface)(INetworkAdapter *pThis, PRUnichar * hostInterface);
4391 nsresult (*GetInternalNetwork)(INetworkAdapter *pThis, PRUnichar * *internalNetwork);
4392 nsresult (*SetInternalNetwork)(INetworkAdapter *pThis, PRUnichar * internalNetwork);
4394 nsresult (*GetNATNetwork)(INetworkAdapter *pThis, PRUnichar * *NATNetwork);
4395 nsresult (*SetNATNetwork)(INetworkAdapter *pThis, PRUnichar * NATNetwork);
4397 nsresult (*GetCableConnected)(INetworkAdapter *pThis, PRBool *cableConnected);
4398 nsresult (*SetCableConnected)(INetworkAdapter *pThis, PRBool cableConnected);
4400 nsresult (*GetLineSpeed)(INetworkAdapter *pThis, PRUint32 *lineSpeed);
4401 nsresult (*SetLineSpeed)(INetworkAdapter *pThis, PRUint32 lineSpeed);
4403 nsresult (*GetTraceEnabled)(INetworkAdapter *pThis, PRBool *traceEnabled);
4404 nsresult (*SetTraceEnabled)(INetworkAdapter *pThis, PRBool traceEnabled);
4406 nsresult (*GetTraceFile)(INetworkAdapter *pThis, PRUnichar * *traceFile);
4407 nsresult (*SetTraceFile)(INetworkAdapter *pThis, PRUnichar * traceFile);
4409 nsresult (*AttachToNAT)(INetworkAdapter *pThis );
4411 nsresult (*AttachToBridgedInterface)(INetworkAdapter *pThis );
4413 nsresult (*AttachToInternalNetwork)(INetworkAdapter *pThis );
4415 nsresult (*AttachToHostOnlyInterface)(INetworkAdapter *pThis );
4417 nsresult (*Detach)(INetworkAdapter *pThis );
4438 nsresult (*GetSlot)(ISerialPort *pThis, PRUint32 *slot);
4440 nsresult (*GetEnabled)(ISerialPort *pThis, PRBool *enabled);
4441 nsresult (*SetEnabled)(ISerialPort *pThis, PRBool enabled);
4443 nsresult (*GetIOBase)(ISerialPort *pThis, PRUint32 *IOBase);
4444 nsresult (*SetIOBase)(ISerialPort *pThis, PRUint32 IOBase);
4446 nsresult (*GetIRQ)(ISerialPort *pThis, PRUint32 *IRQ);
4447 nsresult (*SetIRQ)(ISerialPort *pThis, PRUint32 IRQ);
4449 nsresult (*GetHostMode)(ISerialPort *pThis, PRUint32 *hostMode);
4450 nsresult (*SetHostMode)(ISerialPort *pThis, PRUint32 hostMode);
4452 nsresult (*GetServer)(ISerialPort *pThis, PRBool *server);
4453 nsresult (*SetServer)(ISerialPort *pThis, PRBool server);
4455 nsresult (*GetPath)(ISerialPort *pThis, PRUnichar * *path);
4456 nsresult (*SetPath)(ISerialPort *pThis, PRUnichar * path);
4477 nsresult (*GetSlot)(IParallelPort *pThis, PRUint32 *slot);
4479 nsresult (*GetEnabled)(IParallelPort *pThis, PRBool *enabled);
4480 nsresult (*SetEnabled)(IParallelPort *pThis, PRBool enabled);
4482 nsresult (*GetIOBase)(IParallelPort *pThis, PRUint32 *IOBase);
4483 nsresult (*SetIOBase)(IParallelPort *pThis, PRUint32 IOBase);
4485 nsresult (*GetIRQ)(IParallelPort *pThis, PRUint32 *IRQ);
4486 nsresult (*SetIRQ)(IParallelPort *pThis, PRUint32 IRQ);
4488 nsresult (*GetPath)(IParallelPort *pThis, PRUnichar * *path);
4489 nsresult (*SetPath)(IParallelPort *pThis, PRUnichar * path);
4510 nsresult (*GetSinglestep)(IMachineDebugger *pThis, PRBool *singlestep);
4511 nsresult (*SetSinglestep)(IMachineDebugger *pThis, PRBool singlestep);
4513 nsresult (*GetRecompileUser)(IMachineDebugger *pThis, PRBool *recompileUser);
4514 nsresult (*SetRecompileUser)(IMachineDebugger *pThis, PRBool recompileUser);
4516 nsresult (*GetRecompileSupervisor)(IMachineDebugger *pThis, PRBool *recompileSupervisor);
4517 nsresult (*SetRecompileSupervisor)(IMachineDebugger *pThis, PRBool recompileSupervisor);
4519 nsresult (*GetPATMEnabled)(IMachineDebugger *pThis, PRBool *PATMEnabled);
4520 nsresult (*SetPATMEnabled)(IMachineDebugger *pThis, PRBool PATMEnabled);
4522 nsresult (*GetCSAMEnabled)(IMachineDebugger *pThis, PRBool *CSAMEnabled);
4523 nsresult (*SetCSAMEnabled)(IMachineDebugger *pThis, PRBool CSAMEnabled);
4525 nsresult (*GetLogEnabled)(IMachineDebugger *pThis, PRBool *logEnabled);
4526 nsresult (*SetLogEnabled)(IMachineDebugger *pThis, PRBool logEnabled);
4528 nsresult (*GetHWVirtExEnabled)(IMachineDebugger *pThis, PRBool *HWVirtExEnabled);
4530 nsresult (*GetHWVirtExNestedPagingEnabled)(IMachineDebugger *pThis, PRBool *HWVirtExNestedPagingEnabled);
4532 nsresult (*GetHWVirtExVPIDEnabled)(IMachineDebugger *pThis, PRBool *HWVirtExVPIDEnabled);
4534 nsresult (*GetPAEEnabled)(IMachineDebugger *pThis, PRBool *PAEEnabled);
4536 nsresult (*GetVirtualTimeRate)(IMachineDebugger *pThis, PRUint32 *virtualTimeRate);
4537 nsresult (*SetVirtualTimeRate)(IMachineDebugger *pThis, PRUint32 virtualTimeRate);
4539 nsresult (*GetVM)(IMachineDebugger *pThis, PRUint64 *VM);
4541 nsresult (*ResetStats)(
4546 nsresult (*DumpStats)(
4551 nsresult (*GetStats)(
4558 nsresult (*InjectNMI)(IMachineDebugger *pThis );
4579 nsresult (*GetEnabled)(IUSBController *pThis, PRBool *enabled);
4580 nsresult (*SetEnabled)(IUSBController *pThis, PRBool enabled);
4582 nsresult (*GetEnabledEhci)(IUSBController *pThis, PRBool *enabledEhci);
4583 nsresult (*SetEnabledEhci)(IUSBController *pThis, PRBool enabledEhci);
4585 nsresult (*GetUSBStandard)(IUSBController *pThis, PRUint16 *USBStandard);
4587 nsresult (*GetDeviceFilters)(IUSBController *pThis, PRUint32 *deviceFiltersSize, IUSBDeviceFilter * **deviceFilters);
4589 nsresult (*CreateDeviceFilter)(
4595 nsresult (*InsertDeviceFilter)(
4601 nsresult (*RemoveDeviceFilter)(
4626 nsresult (*GetId)(IUSBDevice *pThis, PRUnichar * *id);
4628 nsresult (*GetVendorId)(IUSBDevice *pThis, PRUint16 *vendorId);
4630 nsresult (*GetProductId)(IUSBDevice *pThis, PRUint16 *productId);
4632 nsresult (*GetRevision)(IUSBDevice *pThis, PRUint16 *revision);
4634 nsresult (*GetManufacturer)(IUSBDevice *pThis, PRUnichar * *manufacturer);
4636 nsresult (*GetProduct)(IUSBDevice *pThis, PRUnichar * *product);
4638 nsresult (*GetSerialNumber)(IUSBDevice *pThis, PRUnichar * *serialNumber);
4640 nsresult (*GetAddress)(IUSBDevice *pThis, PRUnichar * *address);
4642 nsresult (*GetPort)(IUSBDevice *pThis, PRUint16 *port);
4644 nsresult (*GetVersion)(IUSBDevice *pThis, PRUint16 *version);
4646 nsresult (*GetPortVersion)(IUSBDevice *pThis, PRUint16 *portVersion);
4648 nsresult (*GetRemote)(IUSBDevice *pThis, PRBool *remote);
4669 nsresult (*GetName)(IUSBDeviceFilter *pThis, PRUnichar * *name);
4670 nsresult (*SetName)(IUSBDeviceFilter *pThis, PRUnichar * name);
4672 nsresult (*GetActive)(IUSBDeviceFilter *pThis, PRBool *active);
4673 nsresult (*SetActive)(IUSBDeviceFilter *pThis, PRBool active);
4675 nsresult (*GetVendorId)(IUSBDeviceFilter *pThis, PRUnichar * *vendorId);
4676 nsresult (*SetVendorId)(IUSBDeviceFilter *pThis, PRUnichar * vendorId);
4678 nsresult (*GetProductId)(IUSBDeviceFilter *pThis, PRUnichar * *productId);
4679 nsresult (*SetProductId)(IUSBDeviceFilter *pThis, PRUnichar * productId);
4681 nsresult (*GetRevision)(IUSBDeviceFilter *pThis, PRUnichar * *revision);
4682 nsresult (*SetRevision)(IUSBDeviceFilter *pThis, PRUnichar * revision);
4684 nsresult (*GetManufacturer)(IUSBDeviceFilter *pThis, PRUnichar * *manufacturer);
4685 nsresult (*SetManufacturer)(IUSBDeviceFilter *pThis, PRUnichar * manufacturer);
4687 nsresult (*GetProduct)(IUSBDeviceFilter *pThis, PRUnichar * *product);
4688 nsresult (*SetProduct)(IUSBDeviceFilter *pThis, PRUnichar * product);
4690 nsresult (*GetSerialNumber)(IUSBDeviceFilter *pThis, PRUnichar * *serialNumber);
4691 nsresult (*SetSerialNumber)(IUSBDeviceFilter *pThis, PRUnichar * serialNumber);
4693 nsresult (*GetPort)(IUSBDeviceFilter *pThis, PRUnichar * *port);
4694 nsresult (*SetPort)(IUSBDeviceFilter *pThis, PRUnichar * port);
4696 nsresult (*GetRemote)(IUSBDeviceFilter *pThis, PRUnichar * *remote);
4697 nsresult (*SetRemote)(IUSBDeviceFilter *pThis, PRUnichar * remote);
4699 nsresult (*GetMaskedInterfaces)(IUSBDeviceFilter *pThis, PRUint32 *maskedInterfaces);
4700 nsresult (*SetMaskedInterfaces)(IUSBDeviceFilter *pThis, PRUint32 maskedInterfaces);
4721 nsresult (*GetState)(IHostUSBDevice *pThis, PRUint32 *state);
4742 nsresult (*GetAction)(IHostUSBDeviceFilter *pThis, PRUint32 *action);
4743 nsresult (*SetAction)(IHostUSBDeviceFilter *pThis, PRUint32 action);
4764 nsresult (*GetEnabled)(IAudioAdapter *pThis, PRBool *enabled);
4765 nsresult (*SetEnabled)(IAudioAdapter *pThis, PRBool enabled);
4767 nsresult (*GetAudioController)(IAudioAdapter *pThis, PRUint32 *audioController);
4768 nsresult (*SetAudioController)(IAudioAdapter *pThis, PRUint32 audioController);
4770 nsresult (*GetAudioDriver)(IAudioAdapter *pThis, PRUint32 *audioDriver);
4771 nsresult (*SetAudioDriver)(IAudioAdapter *pThis, PRUint32 audioDriver);
4792 nsresult (*GetEnabled)(IVRDPServer *pThis, PRBool *enabled);
4793 nsresult (*SetEnabled)(IVRDPServer *pThis, PRBool enabled);
4795 nsresult (*GetPorts)(IVRDPServer *pThis, PRUnichar * *ports);
4796 nsresult (*SetPorts)(IVRDPServer *pThis, PRUnichar * ports);
4798 nsresult (*GetNetAddress)(IVRDPServer *pThis, PRUnichar * *netAddress);
4799 nsresult (*SetNetAddress)(IVRDPServer *pThis, PRUnichar * netAddress);
4801 nsresult (*GetAuthType)(IVRDPServer *pThis, PRUint32 *authType);
4802 nsresult (*SetAuthType)(IVRDPServer *pThis, PRUint32 authType);
4804 nsresult (*GetAuthTimeout)(IVRDPServer *pThis, PRUint32 *authTimeout);
4805 nsresult (*SetAuthTimeout)(IVRDPServer *pThis, PRUint32 authTimeout);
4807 nsresult (*GetAllowMultiConnection)(IVRDPServer *pThis, PRBool *allowMultiConnection);
4808 nsresult (*SetAllowMultiConnection)(IVRDPServer *pThis, PRBool allowMultiConnection);
4810 nsresult (*GetReuseSingleConnection)(IVRDPServer *pThis, PRBool *reuseSingleConnection);
4811 nsresult (*SetReuseSingleConnection)(IVRDPServer *pThis, PRBool reuseSingleConnection);
4832 nsresult (*GetName)(ISharedFolder *pThis, PRUnichar * *name);
4834 nsresult (*GetHostPath)(ISharedFolder *pThis, PRUnichar * *hostPath);
4836 nsresult (*GetAccessible)(ISharedFolder *pThis, PRBool *accessible);
4838 nsresult (*GetWritable)(ISharedFolder *pThis, PRBool *writable);
4840 nsresult (*GetLastAccessError)(ISharedFolder *pThis, PRUnichar * *lastAccessError);
4861 nsresult (*GetPID)(
4866 nsresult (*GetRemoteConsole)(
4871 nsresult (*AssignMachine)(
4876 nsresult (*AssignRemoteMachine)(
4882 nsresult (*UpdateMachineState)(
4887 nsresult (*Uninitialize)(IInternalSessionControl *pThis );
4889 nsresult (*OnNetworkAdapterChange)(
4895 nsresult (*OnSerialPortChange)(
4900 nsresult (*OnParallelPortChange)(
4905 nsresult (*OnStorageControllerChange)(IInternalSessionControl *pThis );
4907 nsresult (*OnMediumChange)(
4913 nsresult (*OnVRDPServerChange)(IInternalSessionControl *pThis );
4915 nsresult (*OnUSBControllerChange)(IInternalSessionControl *pThis );
4917 nsresult (*OnSharedFolderChange)(
4922 nsresult (*OnUSBDeviceAttach)(
4929 nsresult (*OnUSBDeviceDetach)(
4935 nsresult (*OnShowWindow)(
4942 nsresult (*AccessGuestProperty)(
4953 nsresult (*EnumerateGuestProperties)(
4985 nsresult (*GetState)(ISession *pThis, PRUint32 *state);
4987 nsresult (*GetType)(ISession *pThis, PRUint32 *type);
4989 nsresult (*GetMachine)(ISession *pThis, IMachine * *machine);
4991 nsresult (*GetConsole)(ISession *pThis, IConsole * *console);
4993 nsresult (*Close)(ISession *pThis );
5014 nsresult (*GetName)(IStorageController *pThis, PRUnichar * *name);
5016 nsresult (*GetMaxDevicesPerPortCount)(IStorageController *pThis, PRUint32 *maxDevicesPerPortCount);
5018 nsresult (*GetMinPortCount)(IStorageController *pThis, PRUint32 *minPortCount);
5020 nsresult (*GetMaxPortCount)(IStorageController *pThis, PRUint32 *maxPortCount);
5022 nsresult (*GetInstance)(IStorageController *pThis, PRUint32 *instance);
5023 nsresult (*SetInstance)(IStorageController *pThis, PRUint32 instance);
5025 nsresult (*GetPortCount)(IStorageController *pThis, PRUint32 *portCount);
5026 nsresult (*SetPortCount)(IStorageController *pThis, PRUint32 portCount);
5028 nsresult (*GetBus)(IStorageController *pThis, PRUint32 *bus);
5030 nsresult (*GetControllerType)(IStorageController *pThis, PRUint32 *controllerType);
5031 nsresult (*SetControllerType)(IStorageController *pThis, PRUint32 controllerType);
5033 nsresult (*GetIDEEmulationPort)(
5039 nsresult (*SetIDEEmulationPort)(
5064 nsresult (*GetMetricName)(IPerformanceMetric *pThis, PRUnichar * *metricName);
5066 nsresult (*GetObject)(IPerformanceMetric *pThis, nsISupports * *object);
5068 nsresult (*GetDescription)(IPerformanceMetric *pThis, PRUnichar * *description);
5070 nsresult (*GetPeriod)(IPerformanceMetric *pThis, PRUint32 *period);
5072 nsresult (*GetCount)(IPerformanceMetric *pThis, PRUint32 *count);
5074 nsresult (*GetUnit)(IPerformanceMetric *pThis, PRUnichar * *unit);
5076 nsresult (*GetMinimumValue)(IPerformanceMetric *pThis, PRInt32 *minimumValue);
5078 nsresult (*GetMaximumValue)(IPerformanceMetric *pThis, PRInt32 *maximumValue);
5099 nsresult (*GetMetricNames)(IPerformanceCollector *pThis, PRUint32 *metricNamesSize, PRUnichar * **metricNames);
5101 nsresult (*GetMetrics)(
5111 nsresult (*SetupMetrics)(
5123 nsresult (*EnableMetrics)(
5133 nsresult (*DisableMetrics)(
5143 nsresult (*QueryMetricsData)(