Oharra
Baimena behar duzu orria atzitzeko. Direktorioetan saioa has dezakezu edo haiek alda ditzakezu.
Baimena behar duzu orria atzitzeko. Direktorioak alda ditzakezu.
Obtiene la longitud de la ruta de acceso absoluta del archivo de la clave de referencia del archivo de fuente.
Sintaxis
HRESULT GetFilePathLengthFromKey(
[in] void const *fontFileReferenceKey,
UINT32 fontFileReferenceKeySize,
[out] UINT32 *filePathLength
);
Parámetros
[in] fontFileReferenceKey
Tipo: const void*
Clave de referencia del archivo de fuente que identifica de forma única el archivo de fuente local dentro del ámbito del cargador de fuentes que se está usando.
fontFileReferenceKeySize
Tipo: UINT32
Tamaño de la clave de referencia del archivo de fuente en bytes.
[out] filePathLength
Tipo: UINT32*
Longitud de la cadena de ruta de acceso del archivo, sin incluir el carácter NULL terminado.
Valor devuelto
Tipo: HRESULT
Si este método se realiza correctamente, devuelve S_OK. De lo contrario, devuelve un código de error de HRESULT.
Requisitos
| Requisito | Value |
|---|---|
| Plataforma de destino | Windows |
| Encabezado | dwrite.h |
| Library | Dwrite.lib |
| Archivo DLL | Dwrite.dll |