GetMoniker method
[IHlinkSite::GetMoniker may be altered or unavailable in subsequent versions of the operating system or product.]
Gets the moniker to the hyperlink target.
Syntax
HRESULT retVal = object.GetMoniker(dwSiteData, dwAssign, dwWhich, ppimk);
Parameters
- dwSiteData [in]
-
Type: DWORD
An unsigned long integer value that specifies the hyperlink to the hyperlink site. The hyperlink site initializes the hyperlink with this value as part of IHlink::SetHlinkSite.
- dwAssign [in]
-
Type: DWORD
An unsigned long integer value that specifies one of the OLEGETMONIKER values. This is typically OLEGETMONIKER_ONLYIFTHERE, which indicates that the function should not force a moniker to be created, if one does not already exist; or OLEGETMONIKER_FORCEASSIGN, which indicates that the function should create a moniker, if one does not exist.
- dwWhich [in]
-
Type: DWORD
An unsigned long integer value that specifies one of the OLEWHICHMK values. This is typically OLEWHICHMK_CONTAINER, which indicates that the site should return the moniker of the hyperlink container.
- ppimk [out]
-
Type: IMoniker
A pointer to an IMoniker interface.
See also