/reactos/dll/win32/msctf/ |
H A D | msctf.c | 287 Sink *sink; in advise_sink() local 289 sink = HeapAlloc(GetProcessHeap(), 0, sizeof(*sink)); in advise_sink() 290 if (!sink) in advise_sink() 305 static void free_sink(Sink *sink) in free_sink() argument 307 list_remove(&sink->entry); in free_sink() 309 HeapFree(GetProcessHeap(), 0, sink); in free_sink() 314 Sink *sink; in unadvise_sink() local 316 sink = remove_Cookie(cookie); in unadvise_sink() 317 if (!sink) in unadvise_sink() 320 free_sink(sink); in unadvise_sink() [all …]
|
H A D | threadmgr.c | 1122 ITfThreadMgrEventSink *sink; in ThreadMgrEventSink_OnInitDocumentMgr() local 1127 SINK_FOR_EACH(cursor, &This->ThreadMgrEventSink, ITfThreadMgrEventSink, sink) in ThreadMgrEventSink_OnInitDocumentMgr() 1129 ITfThreadMgrEventSink_OnInitDocumentMgr(sink, pdim); in ThreadMgrEventSink_OnInitDocumentMgr() 1139 ITfThreadMgrEventSink *sink; in ThreadMgrEventSink_OnUninitDocumentMgr() local 1146 ITfThreadMgrEventSink_OnUninitDocumentMgr(sink, pdim); in ThreadMgrEventSink_OnUninitDocumentMgr() 1157 ITfThreadMgrEventSink *sink; in ThreadMgrEventSink_OnSetFocus() local 1164 ITfThreadMgrEventSink_OnSetFocus(sink, pdimFocus, pdimPrevFocus); in ThreadMgrEventSink_OnSetFocus() 1174 ITfThreadMgrEventSink *sink; in ThreadMgrEventSink_OnPushContext() local 1181 ITfThreadMgrEventSink_OnPushContext(sink, pic); in ThreadMgrEventSink_OnPushContext() 1191 ITfThreadMgrEventSink *sink; in ThreadMgrEventSink_OnPopContext() local [all …]
|
H A D | msctf_internal.h | 73 extern HRESULT get_textservice_sink(TfClientId tid, REFCLSID iid, IUnknown** sink) DECLSPEC_HIDDEN; 74 extern HRESULT set_textservice_sink(TfClientId tid, REFCLSID iid, IUnknown* sink) DECLSPEC_HIDDEN;
|
H A D | compartmentmgr.c | 487 ITfCompartmentEventSink *sink; in Compartment_SetValue() local 513 SINK_FOR_EACH(cursor, &This->CompartmentEventSink, ITfCompartmentEventSink, sink) in Compartment_SetValue() 515 ITfCompartmentEventSink_OnChange(sink, &This->valueData->guid); in Compartment_SetValue()
|
H A D | context.c | 924 ITfTextEditSink *sink; in TextStoreACPSink_OnLockGranted() local 932 SINK_FOR_EACH(cursor, &This->pTextEditSink, ITfTextEditSink, sink) in TextStoreACPSink_OnLockGranted() 934 ITfTextEditSink_OnEndEdit(sink, &This->ITfContext_iface, sc, NULL); in TextStoreACPSink_OnLockGranted()
|
H A D | inputprocessor.c | 585 ITfLanguageProfileNotifySink *sink; in InputProcessorProfiles_ChangeCurrentLanguage() local 591 SINK_FOR_EACH(cursor, &This->LanguageProfileNotifySink, ITfLanguageProfileNotifySink, sink) in InputProcessorProfiles_ChangeCurrentLanguage() 594 ITfLanguageProfileNotifySink_OnLanguageChange(sink, langid, &accept); in InputProcessorProfiles_ChangeCurrentLanguage()
|
/reactos/dll/win32/wbemprox/ |
H A D | services.c | 141 IWbemObjectSink *sink; member 155 if (async->sink) IWbemObjectSink_Release( async->sink ); in free_async() 171 async->sink = sink; in init_async() 172 IWbemObjectSink_AddRef( sink ); in init_async() 685 IWbemObjectSink_Indicate( query->hdr.sink, 1, &obj ); in async_exec_query() 703 IWbemObjectSink *sink; in wbem_services_ExecQueryAsync() local 727 if (!(init_async( async, sink, async_exec_query ))) in wbem_services_ExecQueryAsync() 747 IWbemObjectSink_Release( sink ); in wbem_services_ExecQueryAsync() 772 IWbemObjectSink *sink; in wbem_services_ExecNotificationQueryAsync() local 796 if (!(init_async( async, sink, async_exec_query ))) in wbem_services_ExecNotificationQueryAsync() [all …]
|
/reactos/dll/win32/mshtml/ |
H A D | pluginhost.c | 478 for(iter = sink->handlers; iter < sink->handlers+sink->handlers_cnt; iter++) { in find_sink_entry() 495 sink->handlers = heap_alloc(4*sizeof(*sink->handlers)); in add_sink_handler() 496 if(!sink->handlers) in add_sink_handler() 499 }else if(sink->handlers_cnt == sink->handlers_size) { in add_sink_handler() 502 … new_handlers = heap_realloc(sink->handlers, 2*sink->handlers_size*sizeof(*sink->handlers)); in add_sink_handler() 508 entry = sink->handlers + sink->handlers_cnt++; in add_sink_handler() 772 if(plugin_host->sink) { in bind_activex_event() 907 if(This->sink) { in PHClientSite_Release() 910 This->sink = NULL; in PHClientSite_Release() 2015 if(host->sink) { in detach_plugin_host() [all …]
|
H A D | conpoint.c | 205 IUnknown *sink; in ConnectionPoint_Advise() local 211 hres = IUnknown_QueryInterface(pUnkSink, This->iid, (void**)&sink); in ConnectionPoint_Advise() 213 hres = IUnknown_QueryInterface(pUnkSink, &IID_IDispatch, (void**)&sink); in ConnectionPoint_Advise() 231 This->sinks[i].unk = sink; in ConnectionPoint_Advise()
|
H A D | pluginhost.h | 49 PHEventSink *sink; member
|
/reactos/dll/win32/ieframe/ |
H A D | view.c | 102 if (This->sink) IAdviseSink_Release(This->sink); in ViewObject_SetAdvise() 103 This->sink = pAdvSink; in ViewObject_SetAdvise() 104 if (This->sink) IAdviseSink_AddRef(This->sink); in ViewObject_SetAdvise() 120 *ppAdvSink = This->sink; in ViewObject_GetAdvise()
|
H A D | ieframe.h | 203 IAdviseSink *sink; member
|
/reactos/modules/rostests/winetests/msctf/ |
H A D | inputprocessor.c | 113 *sink = (*sink & ~SINK_EXPECTED_COUNT_MASK) + (count << 16); in _sink_fire_ok() 122 *sink = (*sink & ~SINK_EXPECTED_COUNT_MASK) + (count << 16); in _sink_fire_ok() 128 *sink = SINK_FIRED; in _sink_fire_ok() 137 int count = expected_count(sink); in _sink_check_ok() 156 *sink = SINK_UNEXPECTED; in _sink_check_ok() 163 int count = expected_count(sink); in _sink_check_saved() 164 _sink_check_ok(sink, name); in _sink_check_saved() 1227 IUnknown *sink; in test_ThreadMgrAdviseSinks() local 1247 IUnknown_Release(sink); in test_ThreadMgrAdviseSinks() 1450 ITfKeyEventSink *sink = NULL; in test_KeystrokeMgr() local [all …]
|
/reactos/dll/win32/inetcomm/ |
H A D | protocol.c | 42 IInternetProtocolSink *sink; member 107 if(protocol->sink) { in report_result() 108 IInternetProtocolSink_ReportResult(protocol->sink, result, ERROR_SUCCESS, NULL); in report_result() 109 IInternetProtocolSink_Release(protocol->sink); in report_result() 110 protocol->sink = NULL; in report_result() 162 …hres = IInternetProtocolSink_ReportProgress(protocol->sink, BINDSTATUS_MIMETYPEAVAILABLE, value.u.… in on_mime_message_available() 172 IInternetProtocolSink_ReportData(protocol->sink, BSCF_FIRSTDATANOTIFICATION in on_mime_message_available() 418 if(This->sink) in MimeHtmlProtocol_Release() 419 IInternetProtocolSink_Release(This->sink); in MimeHtmlProtocol_Release() 489 IInternetProtocolSink_AddRef(This->sink = pOIProtSink); in MimeHtmlProtocol_Start() [all …]
|
/reactos/dll/win32/wmvcore/ |
H A D | writer.c | 232 …LT WINAPI WMWriterAdvanced_GetSink(IWMWriterAdvanced3 *iface, DWORD sink_num, IWMWriterSink **sink) in WMWriterAdvanced_GetSink() argument 235 FIXME("(%p)->(%u %p)\n", This, sink_num, sink); in WMWriterAdvanced_GetSink() 239 static HRESULT WINAPI WMWriterAdvanced_AddSink(IWMWriterAdvanced3 *iface, IWMWriterSink *sink) in WMWriterAdvanced_AddSink() argument 242 FIXME("(%p)->(%p)\n", This, sink); in WMWriterAdvanced_AddSink() 246 static HRESULT WINAPI WMWriterAdvanced_RemoveSink(IWMWriterAdvanced3 *iface, IWMWriterSink *sink) in WMWriterAdvanced_RemoveSink() argument 249 FIXME("(%p)->(%p)\n", This, sink); in WMWriterAdvanced_RemoveSink()
|
/reactos/dll/win32/msxml3/ |
H A D | httprequest.c | 80 IDispatch *sink; member 159 if (This->sink && last != state) in httprequest_setreadystate() 1287 static HRESULT httprequest_put_onreadystatechange(httprequest *This, IDispatch *sink) in httprequest_put_onreadystatechange() argument 1289 if (This->sink) IDispatch_Release(This->sink); in httprequest_put_onreadystatechange() 1290 if ((This->sink = sink)) IDispatch_AddRef(This->sink); in httprequest_put_onreadystatechange() 1316 if (This->sink) IDispatch_Release(This->sink); in httprequest_release() 1540 TRACE("(%p)->(%p)\n", This, sink); in XMLHTTPRequest_put_onreadystatechange() 1541 return httprequest_put_onreadystatechange(This, sink); in XMLHTTPRequest_put_onreadystatechange() 1972 TRACE("(%p)->(%p)\n", This, sink); in ServerXMLHTTPRequest_put_onreadystatechange() 1973 return httprequest_put_onreadystatechange(&This->req, sink); in ServerXMLHTTPRequest_put_onreadystatechange() [all …]
|
H A D | domdoc.c | 2686 static HRESULT WINAPI domdoc_put_onDataAvailable(IXMLDOMDocument3 *iface, VARIANT sink) in domdoc_put_onDataAvailable() argument 2689 FIXME("(%p)->(%s): stub\n", This, debugstr_variant(&sink)); in domdoc_put_onDataAvailable() 2693 static HRESULT WINAPI domdoc_put_onTransformNode(IXMLDOMDocument3 *iface, VARIANT sink ) in domdoc_put_onTransformNode() argument 2696 FIXME("(%p)->(%s): stub\n", This, debugstr_variant(&sink)); in domdoc_put_onTransformNode() 3424 IUnknown *sink; in ConnectionPoint_Advise() local 3430 hr = IUnknown_QueryInterface(unk_sink, This->iid, (void**)&sink); in ConnectionPoint_Advise() 3432 hr = IUnknown_QueryInterface(unk_sink, &IID_IDispatch, (void**)&sink); in ConnectionPoint_Advise() 3452 This->sinks[i].unk = sink; in ConnectionPoint_Advise()
|
/reactos/modules/rosapps/applications/explorer-old/shell/ |
H A D | webchild.h | 96 EventConnection(IConnectionPoint* connectionpoint, IUnknown* sink) in EventConnection() 98 CheckError(connectionpoint->Advise(sink, &_cookie)); in EventConnection() 102 template<typename T> EventConnection(T& connectionpoint, IUnknown* sink) in EventConnection() 104 CheckError(connectionpoint->Advise(sink, &_cookie)); in EventConnection() 133 EventConnector(IUnknown* unknown, REFIID riid, IUnknown* sink) in EventConnector() 135 SIfacePtr<IConnectionPointContainer>(unknown, IID_IConnectionPointContainer), riid), sink) in EventConnector()
|
/reactos/dll/win32/ole32/ |
H A D | ole2impl.c | 179 IAdviseSink *sink, DWORD *conns, in OleCreateFromDataEx() argument 187 sink, conns, client_site, stg, obj); in OleCreateFromDataEx() 337 … DWORD renderopt, ULONG num_fmts, DWORD *adv_flags, FORMATETC *fmts, IAdviseSink *sink, in OleCreateFromFileEx() argument 349 …TRACE("sink %p, conns %p, client site %p, storage %p, obj %p\n", sink, conns, client_site, stg, ob… in OleCreateFromFileEx()
|
/reactos/dll/win32/urlmon/ |
H A D | mk.c | 127 static HRESULT report_result(IInternetProtocolSink *sink, HRESULT hres, DWORD dwError) in report_result() argument 129 IInternetProtocolSink_ReportResult(sink, hres, dwError, NULL); in report_result()
|
H A D | bindprot.c | 564 void set_binding_sink(BindProtocol *This, IInternetProtocolSink *sink, IInternetBindInfo *bind_info) in set_binding_sink() argument 569 if(sink) in set_binding_sink() 570 IInternetProtocolSink_AddRef(sink); in set_binding_sink() 571 prev_sink = InterlockedExchangePointer((void**)&This->protocol_sink, sink); in set_binding_sink() 575 if(sink) in set_binding_sink() 576 … IInternetProtocolSink_QueryInterface(sink, &IID_IServiceProvider, (void**)&service_provider); in set_binding_sink()
|
/reactos/modules/rostests/winetests/shlwapi/ |
H A D | ordinal.c | 863 IUnknown **sink; member 1065 rgcd->pUnk = iface->pt->sink[iface->idx]; in Enum_Next() 1066 IUnknown_AddRef(iface->pt->sink[iface->idx]); in Enum_Next() 1151 if (iface->sink[i]) in ConPt_Release() 1152 IUnknown_Release(iface->sink[i]); in ConPt_Release() 1154 HeapFree(GetProcessHeap(),0,iface->sink); in ConPt_Release() 1197 … iface->sink = HeapReAlloc(GetProcessHeap(),0,iface->sink,sizeof(IUnknown*)*(iface->sinkCount+1)); in ConPt_Advise() 1198 iface->sink[iface->sinkCount] = pUnkSink; in ConPt_Advise() 1215 IUnknown_Release(iface->sink[dwCookie-1]); in ConPt_Unadvise() 1216 iface->sink[dwCookie-1] = NULL; in ConPt_Unadvise() [all …]
|
/reactos/dll/win32/itss/ |
H A D | protocol.c | 214 static HRESULT report_result(IInternetProtocolSink *sink, HRESULT hres) in report_result() argument 216 IInternetProtocolSink_ReportResult(sink, hres, 0, NULL); in report_result()
|
/reactos/sdk/include/psdk/ |
H A D | ole2.h | 126 … DWORD *adv_flags, LPFORMATETC fmts, IAdviseSink *sink, DWORD *conns,
|
/reactos/modules/rostests/winetests/wbemprox/ |
H A D | query.c | 997 static IWbemObjectSink sink = { &sink_vtbl }; variable 1012 hr = IWbemServices_ExecNotificationQueryAsync( services, wql, query, 0, NULL, &sink ); in test_notification_query_async() 1016 hr = IWbemServices_CancelAsyncCall( services, &sink ); in test_notification_query_async() 1034 hr = IWbemServices_ExecQueryAsync( services, wql, query, 0, NULL, &sink ); in test_query_async() 1040 hr = IWbemServices_CancelAsyncCall( services, &sink ); in test_query_async()
|