ReactOS 0.4.15-dev-7942-gd23573b
objsel_private.h File Reference
#include <string.h>
#include <stdarg.h>
#include <stdio.h>
#include "winerror.h"
#include "windef.h"
#include "winbase.h"
#include "winreg.h"
#include "wingdi.h"
#include "winuser.h"
#include "ole2.h"
#include "strmif.h"
#include "olectl.h"
#include "unknwn.h"
#include "objsel.h"
#include "uuids.h"
Include dependency graph for objsel_private.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  ClassFactoryImpl
 
struct  IDsObjectPickerImpl
 

Macros

#define COBJMACROS
 

Functions

HRESULT WINAPI OBJSEL_IDsObjectPicker_Create (LPVOID *ppvObj) DECLSPEC_HIDDEN
 

Variables

LONG dll_refs DECLSPEC_HIDDEN
 

Macro Definition Documentation

◆ COBJMACROS

#define COBJMACROS

Definition at line 33 of file objsel_private.h.

Function Documentation

◆ OBJSEL_IDsObjectPicker_Create()

HRESULT WINAPI OBJSEL_IDsObjectPicker_Create ( LPVOID ppvObj)

Definition at line 220 of file objsel.c.

221{
224 sizeof(IDsObjectPickerImpl));
225 if (Instance != NULL)
226 {
227 Instance->IDsObjectPicker_iface.lpVtbl = &IDsObjectPicker_Vtbl;
228 OBJSEL_IDsObjectPicker_AddRef(&Instance->IDsObjectPicker_iface);
229
230 *ppvObj = Instance;
231 return S_OK;
232 }
233 else
234 return E_OUTOFMEMORY;
235}
#define E_OUTOFMEMORY
Definition: ddrawi.h:100
#define NULL
Definition: types.h:112
#define GetProcessHeap()
Definition: compat.h:736
#define HeapAlloc
Definition: compat.h:733
#define HEAP_ZERO_MEMORY
Definition: compat.h:134
#define S_OK
Definition: intsafe.h:52
static ULONG WINAPI OBJSEL_IDsObjectPicker_AddRef(IDsObjectPicker *iface)
Definition: objsel.c:110
static IDsObjectPickerVtbl IDsObjectPicker_Vtbl
Definition: objsel.c:207
_Must_inspect_result_ _In_ WDFDEVICE _In_ PWDF_WMI_INSTANCE_CONFIG _In_opt_ PWDF_OBJECT_ATTRIBUTES _Out_opt_ WDFWMIINSTANCE * Instance
Definition: wdfwmi.h:481

Referenced by OBJSEL_IClassFactory_CreateInstance().

Variable Documentation

◆ DECLSPEC_HIDDEN

ClassFactoryImpl OBJSEL_ClassFactory DECLSPEC_HIDDEN
extern

Definition at line 65 of file objsel_private.h.