Commit f949c879 authored by Qian Hong's avatar Qian Hong Committed by Alexandre Julliard

atl100: Implemented semi stub AtlAxCreateControlLic and AtlAxCreateControlLicEx.

parent 480e95ae
...@@ -1035,15 +1035,15 @@ static enum content get_content_type(LPCOLESTR name, CLSID *control_id) ...@@ -1035,15 +1035,15 @@ static enum content get_content_type(LPCOLESTR name, CLSID *control_id)
} }
/*********************************************************************** /***********************************************************************
* AtlAxCreateControlEx [atl100.@] * AtlAxCreateControlLicEx [atl100.@]
* *
* REMARKS * REMARKS
* See http://www.codeproject.com/com/cwebpage.asp for some background * See http://www.codeproject.com/com/cwebpage.asp for some background
* *
*/ */
HRESULT WINAPI AtlAxCreateControlEx(LPCOLESTR lpszName, HWND hWnd, HRESULT WINAPI AtlAxCreateControlLicEx(LPCOLESTR lpszName, HWND hWnd,
IStream *pStream, IUnknown **ppUnkContainer, IUnknown **ppUnkControl, IStream *pStream, IUnknown **ppUnkContainer, IUnknown **ppUnkControl,
REFIID iidSink, IUnknown *punkSink) REFIID iidSink, IUnknown *punkSink, BSTR lic)
{ {
CLSID controlId; CLSID controlId;
HRESULT hRes; HRESULT hRes;
...@@ -1053,8 +1053,11 @@ HRESULT WINAPI AtlAxCreateControlEx(LPCOLESTR lpszName, HWND hWnd, ...@@ -1053,8 +1053,11 @@ HRESULT WINAPI AtlAxCreateControlEx(LPCOLESTR lpszName, HWND hWnd,
IUnknown *pContainer = NULL; IUnknown *pContainer = NULL;
enum content content; enum content content;
TRACE("(%s %p %p %p %p %p %p)\n", debugstr_w(lpszName), hWnd, pStream, TRACE("(%s %p %p %p %p %p %p %s)\n", debugstr_w(lpszName), hWnd, pStream,
ppUnkContainer, ppUnkControl, iidSink, punkSink); ppUnkContainer, ppUnkControl, iidSink, punkSink, debugstr_w(lic));
if (lic)
FIXME("semi stub\n");
if (ppUnkContainer) *ppUnkContainer = NULL; if (ppUnkContainer) *ppUnkContainer = NULL;
if (ppUnkControl) *ppUnkControl = NULL; if (ppUnkControl) *ppUnkControl = NULL;
...@@ -1427,28 +1430,21 @@ INT_PTR WINAPI AtlAxDialogBoxA(HINSTANCE hInstance, LPCSTR lpTemplateName, HWND ...@@ -1427,28 +1430,21 @@ INT_PTR WINAPI AtlAxDialogBoxA(HINSTANCE hInstance, LPCSTR lpTemplateName, HWND
return 0; return 0;
} }
#if _ATL_VER >= _ATL_VER_80
/*********************************************************************** /***********************************************************************
* AtlAxCreateControlLic [atl100.59] * AtlAxCreateControlLic [atl100.59]
* *
*/ */
HRESULT WINAPI AtlAxCreateControlLic(const WCHAR *lpTricsData, HWND hwnd, IStream *stream, IUnknown **container, BSTR lic) HRESULT WINAPI AtlAxCreateControlLic(const WCHAR *lpTricsData, HWND hwnd, IStream *stream, IUnknown **container, BSTR lic)
{ {
FIXME("(%s %p %p %p %s)\n", debugstr_w(lpTricsData), hwnd, stream, container, debugstr_w(lic)); return AtlAxCreateControlLicEx(lpTricsData, hwnd, stream, container, NULL, NULL, NULL, lic);
return E_NOTIMPL;
} }
/*********************************************************************** /***********************************************************************
* AtlAxCreateControlLicEx [atl100.60] * AtlAxCreateControlEx [atl100.@]
* *
*/ */
HRESULT WINAPI AtlAxCreateControlLicEx(const WCHAR *lpTricsData, HWND hwnd, IStream *stream, HRESULT WINAPI AtlAxCreateControlEx(const WCHAR *lpTricsData, HWND hwnd, IStream *stream,
IUnknown **container, IUnknown **control, REFIID iidSink, IUnknown *punkSink, BSTR lic) IUnknown **container, IUnknown **control, REFIID iidSink, IUnknown *punkSink)
{ {
FIXME("(%s %p %p %p %p %s %p %s)\n", debugstr_w(lpTricsData), hwnd, stream, container, control, return AtlAxCreateControlLicEx(lpTricsData, hwnd, stream, container, control, iidSink, punkSink, NULL);
debugstr_guid(iidSink), punkSink, debugstr_w(lic));
return E_NOTIMPL;
} }
#endif
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment