VBoxServiceInternal.h revision 2b821db1fc1a1e0641081be52d2c044ebc24c8bc
230N/A * VBoxService - Guest Additions Services. 230N/A * Copyright (C) 2007-2011 Oracle Corporation 230N/A * This file is part of VirtualBox Open Source Edition (OSE), as 230N/A * you can redistribute it and/or modify it under the terms of the GNU 230N/A * General Public License (GPL) as published by the Free Software 230N/A * Foundation, in version 2 as it comes in the "COPYING" file of the 230N/A * VirtualBox OSE distribution. VirtualBox OSE is distributed in the 230N/A * hope that it will be useful, but WITHOUT ANY WARRANTY of any kind. 230N/A * A service descriptor. 230N/A /** The short service name. */ 340N/A /** The longer service name. */ 230N/A /** The usage options stuff for the --help screen. */ 230N/A /** The option descriptions for the --help screen. */ 340N/A * Called before parsing arguments. 340N/A * @returns VBox status code. 230N/A * Tries to parse the given command line option. 340N/A * @returns 0 if we parsed, -1 if it didn't and anything else means exit. 340N/A * @param ppszShort If not NULL it points to the short option iterator. a short argument. 340N/A * If NULL examine argv[*pi]. 340N/A * @param argc The argument count. 340N/A * @param argv The argument vector. 230N/A * @param pi The argument vector index. Update if any value(s) are eaten. 230N/A * Called before parsing arguments. 230N/A * @returns VBox status code. /** Called from the worker thread. * @returns VBox status code. * @retval VINF_SUCCESS if exitting because *pfTerminate was set. * @param pfTerminate Pointer to a per service termination flag to check * before and after blocking. * Does termination cleanups. * @remarks This may be called even if pfnInit hasn't been called! /** Pointer to a VBOXSERVICE. */ /** Pointer to a const VBOXSERVICE. */ * @note Used on windows to name the service as well as the global mutex. */ /** The friendly service name. */ /** The service description (only W2K+ atm) */ #
define VBOXSERVICE_DESCRIPTION "Manages VM runtime information, time synchronization, remote sysprep execution and miscellaneous utilities for guest operating systems."/** The following constant may be defined by including NtStatus.h. */ #
endif /* RT_OS_WINDOWS */ * Structure for holding buffered pipe data. /** The amount of allocated buffer space. */ /** Helper variable for keeping track of what * already was processed and what not. */ /** Critical section protecting this buffer structure. */ /** Flag indicating whether this pipe buffer accepts new * data to be written to or not. If not enabled, already * (allocated) buffered data still can be read out. */ /** Set if it's necessary to write to the notification pipe. */ /** Set if the pipe needs to be closed after the next read/write. */ /** The notification pipe associated with this buffer. * This is NIL_RTPIPE for output pipes. */ /** The other end of hNotificationPipeW. */ /** The event semaphore for getting notified whether something * has changed, e.g. written or read from this buffer. */ /** Pointer to buffered pipe data. */ * Structure for holding guest exection relevant data. /** Pointer to thread data. */ /* Structure for holding thread relevant data. */ /** The worker thread. */ /** Shutdown indicator. */ /** Indicator set by the service thread exiting. */ /** Whether the service was started or not. */ /** Type of thread. See VBOXSERVICECTRLTHREADDATATYPE for more info. */ /** Pointer to actual thread data, depending on enmType. */ /** Pointer to thread data. */ #
endif /* VBOX_WITH_GUEST_CONTROL */ * A guest property cache. /** The client ID for HGCM communication. */ /** Head in a list of VBOXSERVICEVEPROPCACHEENTRY nodes. */ /** Critical section for thread-safe use. */ /** Pointer to a guest property cache. */ * An entry in the property cache (VBOXSERVICEVEPROPCACHE). * @todo r=bird: This is not really the node to the successor, but * rather the OUR node in the list. If it helps, remember that * its a doubly linked list. */ /** Name (and full path) of guest property. */ /** The last value stored (for reference). */ /** Reset value to write if property is temporary. If NULL, it will be /** Pointer to a cached guest property. */ #
endif /* VBOX_WITH_GUEST_PROPS */#
endif /* VBOX_WITH_GUEST_PROPS */#
endif /* RT_OS_WINDOWS */#
endif /* VBOX_WITH_GUEST_CONTROL */