Skip to content

Latest commit

 

History

History
141 lines (114 loc) · 4.21 KB

nf-oledlg-ioleuiobjinfow-getviewinfo.md

File metadata and controls

141 lines (114 loc) · 4.21 KB
UID title description helpviewer_keywords old-location tech.root ms.assetid ms.date ms.keywords req.header req.include-header req.target-type req.target-min-winverclnt req.target-min-winversvr req.kmdf-ver req.umdf-ver req.ddi-compliance req.unicode-ansi req.idl req.max-support req.namespace req.assembly req.type-library req.lib req.dll req.irql targetos req.typenames req.redist ms.custom f1_keywords dev_langs topic_type api_type api_location api_name
NF:oledlg.IOleUIObjInfoW.GetViewInfo
IOleUIObjInfoW::GetViewInfo (oledlg.h)
Gets the view information associated with the object. (Unicode)
GetViewInfo
GetViewInfo method [COM]
GetViewInfo method [COM]
IOleUIObjInfo interface
GetViewInfo method [COM]
IOleUIObjInfoA interface
GetViewInfo method [COM]
IOleUIObjInfoW interface
IOleUIObjInfo interface [COM]
GetViewInfo method
IOleUIObjInfo::GetViewInfo
IOleUIObjInfoA interface [COM]
GetViewInfo method
IOleUIObjInfoA::GetViewInfo
IOleUIObjInfoW interface [COM]
GetViewInfo method
IOleUIObjInfoW.GetViewInfo
IOleUIObjInfoW::GetViewInfo
_ole_IOleUIObjInfo_GetViewInfo
com.ioleuiobjinfo_getviewinfo
oledlg/IOleUIObjInfo::GetViewInfo
oledlg/IOleUIObjInfoA::GetViewInfo
oledlg/IOleUIObjInfoW::GetViewInfo
com\ioleuiobjinfo_getviewinfo.htm
com
8e9774b6-1264-48d4-b5fb-c43b67e29f6e
12/05/2018
GetViewInfo, GetViewInfo method [COM], GetViewInfo method [COM],IOleUIObjInfo interface, GetViewInfo method [COM],IOleUIObjInfoA interface, GetViewInfo method [COM],IOleUIObjInfoW interface, IOleUIObjInfo interface [COM],GetViewInfo method, IOleUIObjInfo::GetViewInfo, IOleUIObjInfoA interface [COM],GetViewInfo method, IOleUIObjInfoA::GetViewInfo, IOleUIObjInfoW interface [COM],GetViewInfo method, IOleUIObjInfoW.GetViewInfo, IOleUIObjInfoW::GetViewInfo, _ole_IOleUIObjInfo_GetViewInfo, com.ioleuiobjinfo_getviewinfo, oledlg/IOleUIObjInfo::GetViewInfo, oledlg/IOleUIObjInfoA::GetViewInfo, oledlg/IOleUIObjInfoW::GetViewInfo
oledlg.h
Windows
Windows 2000 Professional [desktop apps only]
Windows 2000 Server [desktop apps only]
Windows
19H1
IOleUIObjInfoW::GetViewInfo
oledlg/IOleUIObjInfoW::GetViewInfo
c++
APIRef
kbSyntax
COM
OleDlg.h
IOleUIObjInfo.GetViewInfo
IOleUIObjInfoW.GetViewInfo
IOleUIObjInfoA.GetViewInfo

IOleUIObjInfoW::GetViewInfo

-description

Gets the view information associated with the object.

-parameters

-param dwObject [in]

Unique identifier for the object.

-param phMetaPict [in, optional]

Pointer to the object's current icon. This parameter can be NULL, indicating that the caller is not interested in the object's current presentation.

-param pdvAspect [in, optional]

Pointer to the object's current aspect. This parameter can be NULL, indicating that the caller is not interested in the object's current aspect, for example, DVASPECT_ICONIC or DVASPECT_CONTENT.

-param pnCurrentScale [in, optional]

Pointer to the object's current scale. This parameter can be NULL, indicating that the caller is not interested in the current scaling factor applied to the object in the container's view.

-returns

This method returns S_OK on success. Other possible return values include the following.

Return code Description
E_ACCESSDENIED
Insufficient access permissions.
E_FAIL
The operation failed.
E_INVALIDARG
The specified identifier is not valid.
E_OUTOFMEMORY
There is insufficient memory available for this operation.

-remarks

Notes to Implementers

You must fill in the object's current icon, aspect, and scale.

-see-also

IOleUIObjInfo

OLEUIVIEWPROPS