|
SafeArrayDestroyDescriptor
psa)
SAFEARRAY FAR* psa
Destroys a descriptor of a safe array.
Parameters
psa
Pointer to a safe array descriptor.
Return Value
The SCODE obtained from the returned HRESULT is one of the following:
SCODE
| Meaning
| S_OK
| Success.
| DISP_E_ARRAYISLOCKED
| The array is currently locked.
| E_INVALIDARG
| The item pointed to by psa is not a safe array descriptor.
|
Comments
This function is typically used to destroy the descriptor of a safe array that
contains elements with data types other than variants. Destroying the array
descriptor does not destroy the elements in the array. Call SafeArrayDestroyData to free the elements before destroying the array descriptor.
See Also
SafeArrayAllocData, SafeArrayAllocDescriptor, SafeArrayDestroyData
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 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
|