diff --git a/programs/wscript/host.c b/programs/wscript/host.c index 9634100..27e13ed 100644 --- a/programs/wscript/host.c +++ b/programs/wscript/host.c @@ -106,8 +106,14 @@ static HRESULT WINAPI Host_get_Application(IHost *iface, IDispatch **out_Dispatc static HRESULT WINAPI Host_get_FullName(IHost *iface, BSTR *out_Path) { - WINE_FIXME("(%p)\n", out_Path); - return E_NOTIMPL; + WCHAR path[MAX_PATH]; + + WINE_TRACE("(%p)\n", out_Path); + + GetModuleFileNameW(NULL, path, sizeof(path)/sizeof(WCHAR)); + + *out_Path = SysAllocString(path); + return S_OK; } static HRESULT WINAPI Host_get_Path(IHost *iface, BSTR *out_Path)