[PATCH] mstask: Implement ClassFactory, DllGetClassObject, and DllCanUnloadNow (Revision 2)

Roy Shea royshea at gmail.com
Mon Jul 21 19:58:44 CDT 2008


This revision of:

http://www.winehq.org/pipermail/wine-patches/2008-July/058086.html

The revision:

- Adds -private to dot spec file for DllGetClassObject and DllCanUnloadNow.
- Removes checks to see if This is NULL.
- Sets ppvObj to NULL if no supported interface is found in
  IClassFactory_QueryInterface.
- Sets ppvObj to NULL in case ITaskScheduler_QueryInterface fails within
  IClassFactory_CreateInstance.
---
 dlls/mstask/Makefile.in      |    1 +
 dlls/mstask/factory.c        |  121 ++++++++++++++++++++++++++++++++++++++++++
 dlls/mstask/mstask.spec      |    4 +-
 dlls/mstask/mstask_main.c    |   19 +++++++
 dlls/mstask/mstask_private.h |    9 +++
 5 files changed, 152 insertions(+), 2 deletions(-)
 create mode 100644 dlls/mstask/factory.c
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 1b69bccea2d894439290f8344bc6ce94fb8732d3.diff
Type: text/x-patch
Size: 5640 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20080721/a85c470e/attachment-0001.bin 


More information about the wine-patches mailing list