79 IPropertyBag_AddRef(iface);
94 TRACE(
"(%p)->() AddRef from %d\n", iface,
This->ref);
107 TRACE(
"(%p)->() ReleaseThis->ref from %d\n", iface,
This->ref);
119 LPCOLESTR pszPropName,
123 static const WCHAR FriendlyNameW[] = {
'F',
'r',
'i',
'e',
'n',
'd',
'l',
'y',
'N',
'a',
'm',
'e',0};
135 if (!pszPropName || !pVar)
140 if (!
lstrcmpW(pszPropName, FriendlyNameW))
216 void * pArrayElements;
246 FIXME(
"Variant type %x not supported for regtype %x\n",
V_VT(pVar),
type);
259 LPCOLESTR pszPropName,
287 lpData = &
V_UI4(pVar);
289 cbData =
sizeof(
DWORD);
298 cbData = (lUbound - lLbound + 1) ;
299 TRACE(
"cbData: %d\n", cbData);
304 FIXME(
"Variant type %d not handled\n",
V_VT(pVar));
316 lres =
RegSetValueExW(hkey, pszPropName, 0, dwType, lpData, cbData);
395 IMoniker_AddRef(iface);
435 if (pClassID ==
NULL)
438 *pClassID = CLSID_CDeviceMoniker;
445 FIXME(
"(%p)->(): stub\n", iface);
452 FIXME(
"(%p)->(%p): stub\n", iface, pStm);
459 FIXME(
"(%p)->(%p, %s): stub\n", iface, pStm, fClearDirty ?
"true" :
"false");
466 FIXME(
"(%p)->(%p): stub\n", iface, pcbSize);
528 res= IUnknown_QueryInterface(pObj,riidResult,ppvResult);
529 IUnknown_Release(pObj);
534 IPropertyBag_Release(pProp);
556 static DWORD reported;
559 FIXME(
"ignoring IBindCtx %p\n", pbc);
575 TRACE(
"(%p)->(%p, %d, %p, %p)\n", iface, pbc, dwReduceHowFar, ppmkToLeft, ppmkReduced);
579 *ppmkReduced = iface;
587 FIXME(
"(%p)->(%p, %s, %p): stub\n", iface, pmkRight, fOnlyIfNotGeneric ?
"true" :
"false", ppmkComposite);
590 *ppmkComposite =
NULL;
598 FIXME(
"(%p)->(%s, %p): stub\n", iface, fForward ?
"true" :
"false", ppenumMoniker);
600 *ppenumMoniker =
NULL;
612 TRACE(
"(%p)->(%p)\n", iface, pmkOtherMoniker);
614 if (!pmkOtherMoniker)
617 IMoniker_GetClassID(pmkOtherMoniker, &
clsid);
635 IBindCtx_Release(
bind);
641 TRACE(
"(%p)->(%p)\n", iface, pdwHash);
651 FIXME(
"(%p)->(%p, %p, %p): stub\n", iface, pbc, pmkToLeft, pmkNewlyRunning);
659 TRACE(
"(%p)->(%p, %p, %p)\n", iface, pbc, pmkToLeft, pFileTime);
669 TRACE(
"(%p)->(%p)\n", iface, ppmk);
679 TRACE(
"(%p)->(%p, %p)\n", iface, pmkOtherMoniker, ppmkPrefix);
689 TRACE(
"(%p)->(%p, %p)\n", iface, pmkOther, ppmkRelPath);
691 *ppmkRelPath = pmkOther;
702 TRACE(
"(%p)->(%p, %p, %p)\n", iface, pbc, pmkToLeft, ppszDisplayName);
704 *ppszDisplayName =
NULL;
737 *ppszDisplayName =
buffer;
744 FIXME(
"(%p)->(%p, %p, %s, %p, %p)\n", iface, pbc, pmkToLeft,
debugstr_w(pszDisplayName), pchEaten, ppmkOut);
754 TRACE(
"(%p)->(%p)\n", iface, pdwMksys);
822 IEnumMoniker_AddRef(iface);
850 IEnumDMO_Release(
This->dmo_enum);
872 TRACE(
"(%p)->(%d, %p, %p)\n", iface, celt, rgelt, pceltFetched);
874 while (fetched < celt)
939 TRACE(
"-- fetched %d\n", fetched);
942 *pceltFetched = fetched;
954 TRACE(
"(%p)->(%d)\n", iface, celt);
961 if (IEnumDMO_Skip(
This->dmo_enum, 1) ==
S_OK)
984 TRACE(
"(%p)->()\n", iface);
986 IEnumDMO_Reset(
This->dmo_enum);
995 FIXME(
"(%p)->(%p): stub\n", iface, ppenum);
1024 pEnumMoniker->
ref = 1;
1027 pEnumMoniker->
class = *
class;
#define InterlockedIncrement
#define InterlockedDecrement
#define WINE_DEFAULT_DEBUG_CHANNEL(t)
#define RegCloseKey(hKey)
static const WCHAR instanceW[]
static const WCHAR dmoW[]
static const WCHAR wszActiveMovieKey[]
static const WCHAR deviceW[]
static void DEVENUM_UnlockModule(void)
static const WCHAR backslashW[]
static void DEVENUM_LockModule(void)
static const WCHAR clsidW[]
LONG WINAPI RegOpenKeyExW(HKEY hKey, LPCWSTR lpSubKey, DWORD ulOptions, REGSAM samDesired, PHKEY phkResult)
LONG WINAPI RegOpenKeyW(HKEY hKey, LPCWSTR lpSubKey, PHKEY phkResult)
LONG WINAPI RegSetValueExW(_In_ HKEY hKey, _In_ LPCWSTR lpValueName, _In_ DWORD Reserved, _In_ DWORD dwType, _In_ CONST BYTE *lpData, _In_ DWORD cbData)
LONG WINAPI RegQueryValueExW(_In_ HKEY hkeyorg, _In_ LPCWSTR name, _In_ LPDWORD reserved, _In_ LPDWORD type, _In_ LPBYTE data, _In_ LPDWORD count)
LONG WINAPI RegEnumKeyW(HKEY hKey, DWORD dwIndex, LPWSTR lpName, DWORD cbName)
LONG WINAPI RegCreateKeyW(HKEY hKey, LPCWSTR lpSubKey, PHKEY phkResult)
#define ERROR_NO_MORE_ITEMS
#define HeapFree(x, y, z)
int WINAPI lstrcmpW(LPCWSTR str1, LPCWSTR str2)
int WINAPI lstrcmpiW(LPCWSTR str1, LPCWSTR str2)
HRESULT WINAPI DECLSPEC_HOTPATCH CoCreateInstance(REFCLSID rclsid, LPUNKNOWN pUnkOuter, DWORD dwClsContext, REFIID iid, LPVOID *ppv)
HRESULT WINAPI CLSIDFromString(LPCOLESTR idstr, LPCLSID id)
INT WINAPI StringFromGUID2(REFGUID id, LPOLESTR str, INT cmax)
HRESULT WINAPI SafeArrayGetUBound(SAFEARRAY *psa, UINT nDim, LONG *plUbound)
HRESULT WINAPI SafeArrayAccessData(SAFEARRAY *psa, void **ppvData)
HRESULT WINAPI SafeArrayUnaccessData(SAFEARRAY *psa)
HRESULT WINAPI SafeArrayGetLBound(SAFEARRAY *psa, UINT nDim, LONG *plLbound)
SAFEARRAY *WINAPI SafeArrayCreate(VARTYPE vt, UINT cDims, SAFEARRAYBOUND *rgsabound)
HRESULT WINAPI DMOEnum(REFGUID category, DWORD flags, DWORD cInTypes, const DMO_PARTIAL_MEDIATYPE *pInTypes, DWORD cOutTypes, const DMO_PARTIAL_MEDIATYPE *pOutTypes, IEnumDMO **ppEnum)
HRESULT WINAPI DMOGetName(REFCLSID clsidDMO, WCHAR name[])
GLuint GLuint GLsizei GLenum type
VOID WINAPI CoTaskMemFree(LPVOID ptr)
LPVOID WINAPI CoTaskMemAlloc(SIZE_T size)
LPWSTR WINAPI lstrcatW(LPWSTR lpString1, LPCWSTR lpString2)
#define memcpy(s1, s2, n)
#define KEY_ENUMERATE_SUB_KEYS
HRESULT WINAPI CreateBindCtx(DWORD reserved, LPBC *ppbc)
BSTR WINAPI SysAllocString(LPCOLESTR str)
BSTR WINAPI SysAllocStringLen(const OLECHAR *str, unsigned int len)
const GUID IID_IPropertyBag
const GUID IID_IEnumMoniker
const GUID IID_IPersistStream
const GUID IID_IPersistPropertyBag
#define IsEqualGUID(rguid1, rguid2)
#define IsEqualCLSID(rclsid1, rclsid2)
INT WSAAPI bind(IN SOCKET s, IN CONST struct sockaddr *name, IN INT namelen)
IEnumMoniker IEnumMoniker_iface
IPropertyBag IPropertyBag_iface
TW_UINT32 TW_UINT16 TW_UINT16 TW_MEMREF pData
#define CONTAINING_RECORD(address, type, field)
void WINAPI VariantInit(VARIANTARG *pVarg)
#define MK_S_REDUCED_TO_SELF
#define HRESULT_FROM_WIN32(x)
#define HKEY_CURRENT_USER
#define HKEY_CLASSES_ROOT