|
SNB
A string name block (SNB) is a pointer to an array of pointers to strings,
that ends in a NULL pointer. String name blocks are used the IStorage interface and API calls that open storage objects. The strings point to
contained storage objects or streams that are to be excluded in the open calls.
typedef OLESTR **SNB
Comments
The SNB should be created by allocating a contiguous block of memory in which
the pointers to strings are followed by a NULL pointer, which is then followed
by the actual strings.
The marshalling of a string name block is based on the assumption that the SNB
passed in was created this way. Although it could be stored in other ways, the
SNB created in this manner has the advantage of requiring only one allocation
operation and one freeing of memory for all the strings.
See Also
IStorage
Related LinksSoftware for Delphi and C++ Builder developers Software for Visual Studio .NET developers Software for Visual Basic 6 developers Delphi Tips&Tricks
MegaDetailed.NET
TMS Scripter Studio Pro components for Delphi/C++Builder
More Online Helps Win32 Programmer's Reference (win32.hlp) Win32 Multimedia Programmer's Reference (mmedia.hlp) Microsoft Windows Pen API Programmer's Reference (penapi.hlp) Microsoft Windows Sockets 2 Reference (sock2.hlp) Microsoft Windows Telephony API (TAPI) Programmer's Reference (sock2.hlp) Unix Manual Pages
|