Not
Åtkomst till den här sidan kräver auktorisering. Du kan prova att logga in eller ändra kataloger.
Åtkomst till den här sidan kräver auktorisering. Du kan prova att ändra kataloger.
Gets information about the layout of a string object.
HRESULT GetStringLayout(
[out] ULONG *pBufferLengthOffset,
[out] ULONG *pStringLengthOffset,
[out] ULONG *pBufferOffset);
Parameters
pBufferLengthOffset
[out] A pointer to the offset of the location, relative to the ObjectID pointer, that stores the length of the string's buffer. The length is stored as a DWORD.PStringLengthOffset
[out] A pointer to the offset of the location, relative to the ObjectID pointer, that stores the length of the string itself. The length is stored as a DWORD.pBufferOffset
[out] A pointer to the offset of the buffer, relative to the ObjectID pointer, that stores the string of wide characters.
Remarks
The GetStringLayout method gets the offsets, relative to the ObjectID pointer, of the locations in which the following are stored.
The length of the string's buffer.
The length of the string itself.
The buffer containing the actual string of wide characters.
Strings may or may not be null-terminated.
Requirements
Platforms: See .NET Framework System Requirements.
Header: CorProf.idl
Library: CorGuids.lib
.NET Framework Versions: 3.5 SP1, 3.5, 3.0 SP1, 3.0, 2.0 SP1, 2.0