Windows Dev Center

EN
Este conteúdo não está disponível em seu idioma, mas aqui está a versão em inglês.

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 by the IStorage interface and by function 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;

SNB

[wire_marshal(wireSNB)]

Remarks

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 marshaling of an SNB is based on the assumption that the SNB that was passed in was created in 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.

Requirements

Minimum supported client

Windows 2000 Professional [desktop apps | Windows Store apps]

Minimum supported server

Windows 2000 Server [desktop apps | Windows Store apps]

Header

Objidl.h

IDL

Objidl.idl

See also

IStorage

 

 

Contribuições da comunidade

ADICIONAR
Mostrar:
© 2015 Microsoft