ITextStoreAnchor::QueryInsertEmbedded method
Syntax
HRESULT QueryInsertEmbedded( [in] const GUID *pguidService, [in] const FORMATETC *pFormatEtc, [out] BOOL *pfInsertable );
Parameters
- pguidService [in]
-
Pointer to the object type. If NULL, pFormatEtc should be used.
- 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 cannot be inserted into the document.
Return value
This method can return one of these values.
| Value | Description |
|---|---|
|
The method was successful. |
|
The pFormatEtc parameter is NULL. |
Remarks
The clipboard formats supported by the document are dependent on the application.
Requirements
|
Minimum supported client |
Windows 2000 Professional [desktop apps | Windows Store apps] |
|---|---|
|
Minimum supported server |
Windows 2000 Server [desktop apps | Windows Store apps] |
|
Redistributable |
TSF 1.0 on Windows 2000 Professional |
|
Header |
|
|
IDL |
|
|
DLL |
|
See also
- ITextStoreAnchor
- FORMATETC
- ITextStoreAnchor::InsertEmbedded
- ITextStoreAnchor::InsertEmbeddedAtSelection