gdi32: Simplify the code a little by using a separate variable for the return value.
[wine/multimedia.git] / dlls / objsel / objsel_private.h
blobf6e6baa0df18f957a09022cc8a752dbc313b0540
1 /*
2 * Object Picker Dialog Includes
4 * Copyright 2005 Thomas Weidenmueller <w3seek@reactos.com>
6 * This library is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU Lesser General Public
8 * License as published by the Free Software Foundation; either
9 * version 2.1 of the License, or (at your option) any later version.
11 * This library is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14 * Lesser General Public License for more details.
16 * You should have received a copy of the GNU Lesser General Public
17 * License along with this library; if not, write to the Free Software
18 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
21 #include <string.h>
22 #include <stdarg.h>
23 #include <stdio.h>
24 #include "winerror.h"
25 #include "windef.h"
26 #include "winbase.h"
27 #include "winreg.h"
28 #include "wingdi.h"
29 #include "winuser.h"
31 #define COBJMACROS
33 #include "ole2.h"
34 #include "strmif.h"
35 #include "olectl.h"
36 #include "unknwn.h"
37 #include "objsel.h"
38 #include "wine/unicode.h"
39 #include "uuids.h"
41 /**********************************************************************
42 * Dll lifetime tracking declaration for objsel.dll
45 extern LONG dll_refs DECLSPEC_HIDDEN;
47 /**********************************************************************
48 * ClassFactory declaration for objsel.dll
50 typedef struct
52 IClassFactory IClassFactory_iface;
53 LONG ref;
54 } ClassFactoryImpl;
56 typedef struct
58 IDsObjectPicker IDsObjectPicker_iface;
59 LONG ref;
60 } IDsObjectPickerImpl;
62 HRESULT WINAPI OBJSEL_IDsObjectPicker_Create(LPVOID *ppvObj) DECLSPEC_HIDDEN;
64 extern ClassFactoryImpl OBJSEL_ClassFactory DECLSPEC_HIDDEN;