ole32: Fix two comments about the running object table.
This commit is contained in:
parent
2db311a843
commit
67a7a8a8ef
|
@ -19,11 +19,6 @@
|
||||||
* You should have received a copy of the GNU Lesser General Public
|
* You should have received a copy of the GNU Lesser General Public
|
||||||
* License along with this library; if not, write to the Free Software
|
* License along with this library; if not, write to the Free Software
|
||||||
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
|
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
|
||||||
*
|
|
||||||
* TODO:
|
|
||||||
* - IRunningObjectTable should work interprocess, but currently doesn't.
|
|
||||||
* Native (on Win2k at least) uses an undocumented RPC interface, IROT, to
|
|
||||||
* communicate with RPCSS which contains the table of marshalled data.
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <stdarg.h>
|
#include <stdarg.h>
|
||||||
|
@ -974,9 +969,9 @@ HRESULT WINAPI RunningObjectTableImpl_Initialize(void)
|
||||||
/* initialize the virtual table function */
|
/* initialize the virtual table function */
|
||||||
runningObjectTableInstance->lpVtbl = &VT_RunningObjectTableImpl;
|
runningObjectTableInstance->lpVtbl = &VT_RunningObjectTableImpl;
|
||||||
|
|
||||||
/* the initial reference is set to "1" ! because if set to "0" it will be not practis when */
|
/* the initial reference is set to "1" so that it isn't destroyed after its
|
||||||
/* the ROT referred many times not in the same time (all the objects in the ROT will */
|
* first use until the process is destroyed, as the running object table is
|
||||||
/* be removed every time the ROT is removed ) */
|
* a process-wide cache of a global table */
|
||||||
runningObjectTableInstance->ref = 1;
|
runningObjectTableInstance->ref = 1;
|
||||||
|
|
||||||
list_init(&runningObjectTableInstance->rot);
|
list_init(&runningObjectTableInstance->rot);
|
||||||
|
|
Loading…
Reference in New Issue