Condividi tramite


Metodo ITextStoreACP::QueryInsertEmbeddeded (textstor.h)

Ottiene un valore che indica se l'oggetto specificato può essere inserito nel documento.

Sintassi

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

Parametri

[in] pguidService

Puntatore al tipo di oggetto. Può essere NULL.

[in] pFormatEtc

Puntatore alla struttura FORMATETC contenente i dati di formato dell'oggetto. Questo parametro non può essere NULL se il parametro pguidService è NULL.

[out] pfInsertable

Riceve TRUE se il tipo di oggetto può essere inserito nel documento o FALSE se il tipo di oggetto non può essere inserito nel documento.

Valore restituito

Questo metodo può restituire uno di questi valori.

Valore Descrizione
S_OK
Il metodo è stato eseguito correttamente.
E_INVALIDARG
Il parametro pFormatEtc è NULL.

Commenti

I formati degli Appunti supportati dal documento dipendono dall'applicazione.

Requisiti

Requisito Valore
Client minimo supportato Windows 2000 Professional [solo app desktop]
Server minimo supportato Windows 2000 Server [solo app desktop]
Piattaforma di destinazione Windows
Intestazione textstor.h
DLL Msctf.dll
Componente ridistribuibile TSF 1.0 in Windows 2000 Professional

Vedi anche

FORMATETC

ITextStoreACP

ITextStoreACP::InsertEmbeddeded

ITextStoreACP::InsertEmbeddedAtSelection