WinStd
Windows Win32 API using Standard C++
|
Context scope automatic SAFEARRAY (un)access. More...
#include <WinStd/COM.h>
Public Member Functions | |
safearray_accessor (SAFEARRAY *psa) | |
Increments the lock count of an array, and retrieves a pointer to the array data. | |
virtual | ~safearray_accessor () |
Decrements the lock count of an array. | |
T HUGEP * | data () const noexcept |
Return SAFEARRAY data pointer. | |
Protected Attributes | |
SAFEARRAY * | m_sa |
SAFEARRAY. | |
T HUGEP * | m_data |
SAFEARRAY data. | |
Context scope automatic SAFEARRAY (un)access.
|
inline |
Increments the lock count of an array, and retrieves a pointer to the array data.
|
inlinevirtual |
Decrements the lock count of an array.