Notă
Accesul la această pagină necesită autorizare. Puteți încerca să vă conectați sau să modificați directoarele.
Accesul la această pagină necesită autorizare. Puteți încerca să modificați directoarele.
The StgPropertyLengthAsVariant function examines a SERIALIZEDPROPERTYVALUE and returns the amount of memory that this property would occupy as a PROPVARIANT.
Syntax
ULONG StgPropertyLengthAsVariant(
[in] const SERIALIZEDPROPERTYVALUE *pProp,
[in] ULONG cbProp,
[in] USHORT CodePage,
[in] BYTE bReserved
);
Parameters
[in] pProp
A pointer to a SERIALIZEDPROPERTYVALUE.
[in] cbProp
The size of the pProp buffer in bytes.
[in] CodePage
A property set code page.
[in] bReserved
Reserved. Must be 0.
Return value
Returns the amount of memory the property would occupy as a PROPVARIANT.
Remarks
Use this function to decide whether or not to deserialize a property value in a low-memory scenario. Most applications will have no need to call this function.
Requirements
| Requirement | Value |
|---|---|
| Minimum supported client | Windows 2000 Professional [desktop apps | UWP apps] |
| Minimum supported server | Windows 2000 Server [desktop apps | UWP apps] |
| Target Platform | Windows |
| Header | propapi.h |
| Library | Ole32.lib |
| DLL | Ole32.dll |