ITcTypeInstance6::TypicalFormatCharCount
Schätzt die typische Ausgabelänge eines Formats, indem ein Puffer in Typgröße mit 0xFF vorbelegt und anschließend formatiert wird. Wenn diese Probe keine Ausgabe liefert, fällt die Methode auf die Bytegröße des Typs zurück.
Signatur
HRESULT TypicalFormatCharCount(ULONG formatIdx, ULONG* pCnt);
Parameter
|
Name |
Typ |
Beschreibung |
|---|---|---|
|
formatIdx |
ULONG |
[in, defaultvalue(0)] 0-basierter Formatindex. |
Rückgabewert
|
Name |
Typ |
Beschreibung |
|---|---|---|
|
pCnt |
ULONG* |
[out, retval] Geschätzte Anzahl Zeichen. |
|
(HRESULT) |
HRESULT |
|
Fehlercodes
-
E_POINTER:pCntistNULL.