Lưu ý
Cần có ủy quyền mới truy nhập được vào trang này. Bạn có thể thử đăng nhập hoặc thay đổi thư mục.
Cần có ủy quyền mới truy nhập được vào trang này. Bạn có thể thử thay đổi thư mục.
Gets a pointer to an OLE control on a Visual Basic container.
Note The use of this method is no longer recommended because containers other than Visual Basic do not support
it.
Syntax
HRESULT GetOleObject(
[in] REFIID riid,
[out] LPVOID *ppvObj
);
Parameters
[in] riid
Specifies the interface to retrieve. Pass IID_IOleObject to obtain a pointer to the control.
[out] ppvObj
Pointer to the control.
Return value
This method supports the standard return values E_INVALIDARG, E_OUTOFMEMORY, and E_UNEXPECTED, as well as the following:
Requirements
| Requirement | Value |
|---|---|
| Target Platform | Windows |
| Header | vbinterf.h |