Event Tracing Provider Framework  

CVariableLengthBaseEvent::StringSizeInBytes

Used by the derived class as a helper function to calculate the size of a string in bytes.

[C++]
protected: int StringSizeInBytes(
    LPCWSTR lpszText
    );

Parameters

lpszText
The source string.

Return Value

The number of bytes the string will occupy.

Requirements

Platforms: Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

Header: Declared in WMIEventTracing.h

 

See Also

CVariableLengthBaseEvent Members | CVariableLengthBaseEvent | CTraceEvent Members | CTraceEvent | CTraceController Members | CTraceController | CEventTraceConfig | CBaseEvent Members | CBaseEvent

Contact Me   |  Developing WMI Solutions    |   Gwyn Cole's Developer Blog    |   Legal
 © 2003 Content by Gwyn Cole. All rights reserved.