Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

ITextStoreACP2::QueryInsertEmbedded method

Gets a value indicating whether the specified object can be inserted into the document.

Syntax


HRESULT QueryInsertEmbedded(
  [in]  const GUID      *pguidService,
  [in]  const FORMATETC *pFormatEtc,
  [out]       BOOL      *pfInsertable
);

Parameters

pguidService [in]

Pointer to the object type. Can be NULL.

pFormatEtc [in]

Pointer to the FORMATETC structure that contains format data of the object. This parameter cannot be NULL if the pguidService parameter is NULL.

pfInsertable [out]

Receives TRUE if the object type can be inserted into the document or FALSE if the object type can't be inserted into the document.

Return value

This method can return one of these values.

ValueDescription
S_OK

The method was successful.

E_INVALIDARG

The pFormatEtc parameter is NULL.

 

Remarks

The clipboard formats supported by the document are dependent on the application.

Requirements

Minimum supported client

Windows 8 [desktop apps | Windows Store apps]

Minimum supported server

Windows Server 2012 [desktop apps | Windows Store apps]

Header

Textstor.h

IDL

Textstor.idl

DLL

Msctf.dll

See also

ITextStoreACP2
FORMATETC
InsertEmbedded
InsertEmbeddedAtSelection

 

 

Show:
© 2017 Microsoft