Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
b31fedcd
Commit
b31fedcd
authored
Aug 08, 2005
by
Jacek Caban
Committed by
Alexandre Julliard
Aug 08, 2005
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added hlink.idl.
parent
9f077e55
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
354 additions
and
0 deletions
+354
-0
uuid.c
dlls/uuid/uuid.c
+1
-0
.cvsignore
include/.cvsignore
+1
-0
Makefile.in
include/Makefile.in
+1
-0
hlink.idl
include/hlink.idl
+351
-0
No files found.
dlls/uuid/uuid.c
View file @
b31fedcd
...
...
@@ -61,6 +61,7 @@ DEFINE_GUID(GUID_NULL,0,0,0,0,0,0,0,0,0,0,0);
#include "xmldom.h"
#include "downloadmgr.h"
#include "objsel.h"
#include "hlink.h"
/* FIXME: cguids declares GUIDs but does not define their values */
...
...
include/.cvsignore
View file @
b31fedcd
...
...
@@ -11,6 +11,7 @@ dispex.h
docobj.h
downloadmgr.h
exdisp.h
hlink.h
mediaobj.h
mimeinfo.h
mlang.h
...
...
include/Makefile.in
View file @
b31fedcd
...
...
@@ -16,6 +16,7 @@ IDL_SRCS = \
docobj.idl
\
downloadmgr.idl
\
exdisp.idl
\
hlink.idl
\
mediaobj.idl
\
mimeinfo.idl
\
mlang.idl
\
...
...
include/hlink.idl
0 → 100644
View file @
b31fedcd
/*
*
Copyright
2005
Jacek
Caban
*
*
This
library
is
free
software
; you can redistribute it and/or
*
modify
it
under
the
terms
of
the
GNU
Lesser
General
Public
*
License
as
published
by
the
Free
Software
Foundation
; either
*
version
2.1
of
the
License
,
or
(
at
your
option
)
any
later
version
.
*
*
This
library
is
distributed
in
the
hope
that
it
will
be
useful
,
*
but
WITHOUT
ANY
WARRANTY
; without even the implied warranty of
*
MERCHANTABILITY
or
FITNESS
FOR
A
PARTICULAR
PURPOSE
.
See
the
GNU
*
Lesser
General
Public
License
for
more
details
.
*
*
You
should
have
received
a
copy
of
the
GNU
Lesser
General
Public
*
License
along
with
this
library
; if not, write to the Free Software
*
Foundation
,
Inc
.
,
59
Temple
Place
,
Suite
330
,
Boston
,
MA
02111
-
1307
USA
*/
import
"urlmon.idl"
;
interface
IHlinkSite
;
interface
IHlinkBrowseContext
;
/*****************************************************************************
*
IHlink
interface
*/
[
object
,
uuid
(
79
EAC9C3
-
BAF9
-
11
CE
-
8
C82
-
00
AA004BA90B
),
pointer_default
(
unique
)
]
interface
IHlink
:
IUnknown
{
typedef
[
unique
]
IHlink
*
LPHLINK
;
typedef
enum
{
HLNF_INTERNALJUMP
=
0
x00000001
,
HLNF_OPENINNEWWINDOW
=
0
x00000002
,
HLNF_NAVIGATINGBACK
=
0
x00000004
,
HLNF_NAVIGATINGFORWARD
=
0
x00000008
,
HLNF_NAVIGATINGTOSTACKITEM
=
0
x00000010
,
HLNF_CREATENOHISTORY
=
0
x00000020
}
HLNF
;
typedef
enum
{
HLINKGETREF_DEFAULT
=
0
,
HLINKGETREF_ABSOLUTE
=
1
,
HLINKGETREF_RELATIVE
=
2
,
}
HLINKGETREF
;
typedef
enum
{
HLFNAMEF_DEFAULT
=
0
x00000000
,
HLFNAMEF_TRYCACHE
=
0
x00000001
,
HLFNAMEF_TRYPRETTYTARGET
=
0
x00000002
,
HLFNAMEF_TRYFULLTARGET
=
0
x00000004
,
HLFNAMEF_TRYWIN95SHORTCUT
=
0
x00000008
}
HLFNAMEF
;
typedef
enum
{
HLINKMISC_RELATIVE
=
0
x00000001
,
}
HLINKMISC
;
typedef
enum
{
HLINKSETF_TARGET
=
0
x00000001
,
HLINKSETF_LOCATION
=
0
x00000002
}
HLINKSETF
;
HRESULT
SetHlinkSite
(
[
in
,
unique
]
IHlinkSite
*
pihlSite
,
[
in
]
DWORD
dwSiteData
)
;
HRESULT
GetHlinkSite
(
[
out
]
IHlinkSite
**
ppihlSite
,
[
out
]
DWORD
*
pdwSiteData
)
;
HRESULT
SetMonikerReference
(
[
in
]
DWORD
grfHLSETF
,
[
in
,
unique
]
IMoniker
*
pimkTarget
,
[
in
,
unique
]
LPCWSTR
pwzLocation
)
;
HRESULT
GetMonikerReference
(
[
in
]
DWORD
dwWhichRef
,
[
out
]
IMoniker
**
ppimkTarget
,
[
out
]
LPWSTR
*
ppwzLocation
)
;
HRESULT
SetStringReference
(
[
in
]
DWORD
grfHLSETF
,
[
in
,
unique
]
LPCWSTR
pwzTarget
,
[
in
,
unique
]
LPCWSTR
pwzLocation
)
;
HRESULT
GetStringReference
(
[
in
]
DWORD
dwWhichRef
,
[
out
]
LPWSTR
*
ppwzTarget
,
[
out
]
LPWSTR
*
ppwzLocation
)
;
HRESULT
SetFriendlyName
(
[
in
,
unique
]
LPCWSTR
pwzFriendlyName
)
;
HRESULT
GetFriendlyName
(
[
in
]
DWORD
grfHLFNAMEF
,
[
out
]
LPWSTR
*
ppwzFriendlyName
)
;
HRESULT
SetTargetFrameName
(
[
in
,
unique
]
LPCWSTR
pwzTargetFrameName
)
;
HRESULT
GetTargetFrameName
(
[
out
]
LPWSTR
*
ppwzTargetFrameName
)
;
HRESULT
GetMiscStatus
(
[
out
]
DWORD
*
pdwStatus
)
;
HRESULT
Navigate
(
[
in
]
DWORD
grfHLNF
,
[
in
,
unique
]
LPBC
pibc
,
[
in
,
unique
]
IBindStatusCallback
*
pibsc
,
[
in
,
unique
]
IHlinkBrowseContext
*
pihlbc
)
;
HRESULT
SetAdditionalParams
(
[
in
,
unique
]
LPCWSTR
pwzAdditionalParams
)
;
HRESULT
GetAdditionalParams
(
[
out
]
LPWSTR
*
ppwzAdditionalParams
)
;
}
/*****************************************************************************
*
IHlink
interface
*/
[
object
,
uuid
(
79
EAC9C2
-
BAF9
-
11
CE
-
8
C82
-
00
AA004BA90B
),
pointer_default
(
unique
)
]
interface
IHlinkSite
:
IUnknown
{
typedef
[
unique
]
IHlinkSite
*
LPHLINKSITE
;
typedef
enum
{
HLINKWHICHMK_CONTAINER
=
1
,
HLINKWHICHMK_BASE
=
2
,
}
HLINKWHICHMK
;
HRESULT
QueryService
(
[
in
]
DWORD
dwSiteData
,
[
in
]
REFGUID
guidService
,
[
in
]
REFIID
riid
,
[
out
,
iid_is
(
riid
)
]
IUnknown
**
ppiunk
)
;
HRESULT
GetMoniker
(
[
in
]
DWORD
dwSiteData
,
[
in
]
DWORD
dwAssign
,
[
in
]
DWORD
dwWhich
,
[
out
]
IMoniker
**
ppimk
)
;
HRESULT
ReadyToNavigate
(
[
in
]
DWORD
dwSiteData
,
[
in
]
DWORD
dwReserved
)
;
HRESULT
OnNavigationComplete
(
[
in
]
DWORD
dwSiteData
,
[
in
]
DWORD
dwreserved
,
[
in
]
HRESULT
hrError
,
[
in
,
unique
]
LPCWSTR
pwzError
)
;
}
/*****************************************************************************
*
IEnumHLITEM
interface
*/
[
local
,
object
,
uuid
(
79
EAC9C6
-
BAF9
-
11
CE
-
8
C82
-
00
AA004BA90B
),
pointer_default
(
unique
)
]
interface
IEnumHLITEM
:
IUnknown
{
typedef
[
unique
]
IEnumHLITEM
*
LPENUMHLITEM
;
typedef
struct
tagHLITEM
{
ULONG
uHLID
;
LPWSTR
pwzFriendlyName
;
}
HLITEM
;
typedef
[
unique
]
HLITEM
*
LPHLITEM
;
HRESULT
Next
(
[
in
]
ULONG
celt
,
[
out
]
HLITEM
*
rgelt
,
[
out
]
ULONG
*
pceltFetched
)
;
HRESULT
Skip
(
[
in
]
ULONG
celt
)
;
HRESULT
Reset
()
;
HRESULT
Clone
(
[
out
]
IEnumHLITEM
**
ppienumhlitem
)
;
}
/*****************************************************************************
*
IHlinkBrowseContext
interface
*/
[
local
,
object
,
uuid
(
79
EAC9C7
-
BAF9
-
11
CE
-
8
C82
-
00
AA004BA90B
),
pointer_default
(
unique
)
]
interface
IHlinkBrowseContext
:
IUnknown
{
typedef
[
unique
]
IHlinkBrowseContext
*
LPHLINKBROWSECONTEXT
;
enum
{
HLTB_DOCKEDLEFT
=
0
,
HLTB_DOCKEDTOP
=
1
,
HLTB_DOCKEDRIGHT
=
2
,
HLTB_DOCKEDBOTTOM
=
3
,
HLTB_FLOATING
=
4
}
;
typedef
struct
_tagHLTBINFO
{
ULONG
uDockType
;
RECT
rcTbPos
;
}
HLTBINFO
;
enum
{
HLBWIF_HASFRAMEWNDINFO
=
0
x00000001
,
HLBWIF_HASDOCWNDINFO
=
0
x00000002
,
HLBWIF_FRAMEWNDMAXIMIZED
=
0
x00000004
,
HLBWIF_DOCWNDMAXIMIZED
=
0
x00000008
,
HLBWIF_HASWEBTOOLBARINFO
=
0
x00000010
,
HLBWIF_WEBTOOLBARHIDDEN
=
0
x00000020
}
;
typedef
struct
_tagHLBWINFO
{
ULONG
cbSize
;
DWORD
grfHLBWIF
;
RECT
rcFramePos
;
RECT
rcDocPos
;
HLTBINFO
hltbinfo
;
}
HLBWINFO
;
typedef
[
unique
]
HLBWINFO
*
LPHLBWINFO
;
enum
{
HLID_INVALID
=
0
x00000000
,
HLID_PREVIOUS
=
0
xFFFFFFFF
,
HLID_NEXT
=
0
xFFFFFFFE
,
HLID_CURRENT
=
0
xFFFFFFFD
,
HLID_STACKBOTTOM
=
0
xFFFFFFFC
,
HLID_STACKTOP
=
0
xFFFFFFFB
}
;
enum
{
HLQF_ISVALID
=
0
x00000001
,
HLQF_ISCURRENT
=
0
x00000002
}
;
HRESULT
Register
(
[
in
]
DWORD
reserved
,
[
in
,
unique
]
IUnknown
*
piunk
,
[
in
,
unique
]
IMoniker
*
pimk
,
[
out
]
DWORD
*
pdwRegister
)
;
HRESULT
GetObject
(
[
in
,
unique
]
IMoniker
*
pimk
,
[
in
]
BOOL
fBindIfRootRegistered
,
[
out
]
IUnknown
**
ppiunk
)
;
HRESULT
Revoke
(
[
in
]
DWORD
dwRegister
)
;
HRESULT
SetBrowseWindowInfo
(
[
in
,
unique
]
HLBWINFO
*
phlbwi
)
;
HRESULT
GetBrowseWindowInfo
(
[
out
]
HLBWINFO
*
phlbwi
)
;
HRESULT
SetInitialHlink
(
[
in
,
unique
]
IMoniker
*
pimkTarget
,
[
in
,
unique
]
LPCWSTR
pwzLocation
,
[
in
,
unique
]
LPCWSTR
pwzFriendlyName
)
;
HRESULT
OnNavigateHlink
(
[
in
]
DWORD
grfHLNF
,
[
in
,
unique
]
IMoniker
*
pimkTarget
,
[
in
,
unique
]
LPCWSTR
pwzLocation
,
[
in
,
unique
]
LPCWSTR
pwzFriendlyName
,
[
out
]
ULONG
*
puHLID
)
;
HRESULT
UpdateHlink
(
[
in
]
ULONG
uHLID
,
[
in
,
unique
]
IMoniker
*
pimkTarget
,
[
in
,
unique
]
LPCWSTR
pwzLocation
,
[
in
,
unique
]
LPCWSTR
pwzFriendlyName
)
;
HRESULT
EnumNavigationStack
(
[
in
]
DWORD
dwReserved
,
[
in
]
DWORD
grfHLFNAMEF
,
[
out
]
IEnumHLITEM
**
ppienumhlitem
)
;
HRESULT
QueryHlink
(
[
in
]
DWORD
grfHLQF
,
[
in
]
ULONG
uHLID
)
;
HRESULT
GetHlink
(
[
in
]
ULONG
uHLID
,
[
out
]
IHlink
**
ppihl
)
;
HRESULT
SetCurrentHlink
(
[
in
]
ULONG
uHLID
)
;
HRESULT
Clone
(
[
in
,
unique
]
IUnknown
*
piunkOuter
,
[
in
]
REFIID
riid
,
[
out
,
iid_is
(
riid
)
]
IUnknown
**
ppiunkObj
)
;
HRESULT
Close
(
[
in
]
DWORD
reserved
)
;
}
/*****************************************************************************
*
IHlinkTarget
interface
*/
[
object
,
uuid
(
79
EAC9C4
-
BAF9
-
11
CE
-
8
C82
-
00
AA004BA90B
),
pointer_default
(
unique
)
]
interface
IHlinkTarget
:
IUnknown
{
typedef
[
unique
]
IHlinkTarget
*
LPHLINKTARGET
;
HRESULT
SetBrowseContext
(
[
in
,
unique
]
IHlinkBrowseContext
*
pihlbc
)
;
HRESULT
GetBrowseContext
(
[
out
]
IHlinkBrowseContext
**
ppihlbc
)
;
HRESULT
Navigate
(
[
in
]
DWORD
grfHLNF
,
[
in
,
unique
]
LPCWSTR
pwzJumpLocation
)
;
HRESULT
GetMoniker
(
[
in
,
unique
]
LPCWSTR
pwzLocation
,
[
in
]
DWORD
dwAssign
,
[
out
]
IMoniker
**
ppimkLocation
)
;
HRESULT
GetFriendlyName
(
[
in
,
unique
]
LPCWSTR
pwzLocation
,
[
out
]
LPWSTR
*
ppwzFriendlyName
)
;
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment