Creates an OLE compound-document linked object.
WINOLEAPI OleCreateLink(
|
LPMONIKER pmkLinkSrc, |
//Pointer to moniker indicating source of linked object |
|
REFIID riid, |
//Reference to the identifier of the interfacer to be used to communicate with the new object |
|
DWORD renderopt, |
//Value from OLERENDER |
|
LPFORMATETC pFormatEtc, |
//Pointer to a FORMATETC structure |
|
LPOLECLIENTSITE pClientSite, |
//Pointer to an interface |
|
LPSTORAGE pStg, |
//Pointer to the object’s storage |
|
LPVOID FAR* ppvObj |
//Indirect pointer to the interface requested in riid |
|
); |
Parameters
Return Values
Remarks
Call OleCreateLink to allow a container to create a link to an object.
See Also