\n
Microsoft Invisible Computing

CBuffer Concrete Class

MBufs exposed as files and buffer objects.

Implements IBuffer

Subclass of CUnknown

Methods

MBQueryInterface implements IUnknown.QueryInterface
Source in cbuffer.c

Determines which interfaces an object supports and returns a valid pointer to an interface.

MBAddRef implements IUnknown.AddRef
Source in cbuffer.c

Increments the reference count of the object.

MBRelease implements IUnknown.Release
Source in cbuffer.c

Decrements the reference count of an object. When the count goes to zero, the object is destroyed.

MBReadAt implements IFile.ReadAt
Source in cbuffer.c

Synchronous read.

MBWriteAt implements IFile.WriteAt
Source in cbuffer.c

Synchronous write.

MBSetSize implements IFile.SetSize
Source in cbuffer.c

Set the file size.

MBGetSize implements IFile.GetSize
Source in cbuffer.c

Get the size of the file.

MBAppend implements IBuffer.Append
Source in cbuffer.c

Append argument buffer to this (chain).

MBSplit implements IBuffer.Split
Source in cbuffer.c

Split chain at length and return tail.

MBTruncate implements IBuffer.Truncate
Source in cbuffer.c

Drop data at either head or tail.

MBMakeContiguous implements IBuffer.MakeContiguous
Source in cbuffer.c

Make sure a section of buffer is contiguous.

Rearranges chain so that data is contiguous. Extends chain and moves data around as needed.

MBInsert implements IBuffer.Insert
Source in cbuffer.c

Inserts some space in buffer at given offset.

MBGetDataPointer implements IBuffer.GetDataPointer
Source in cbuffer.c

Get a direct pointer to data in buffer.

MBReadWriteFile implements IBuffer.ReadWriteFile
Source in cbuffer.c

Read/write piece of IFile into buffer. Write extends as needed.

MBApplyCypher implements IBuffer.ApplyCypher
Source in cbuffer.c

En/Decrypt content of buffer.

©2006 Microsoft Corporation. All rights reserved. Terms of Use Privacy Statement Accessibility End User License Agreement