| title | IServerVirtualDeviceSet2::IsSharedBuffer |
|---|---|
| titlesuffix | SQL Server VDI reference |
| description | This article provides reference for the IServerVirtualDeviceSet2::IsSharedBuffer command. |
| ms.date | 08/30/2019 |
| ms.prod | sql |
| ms.prod_service | backup-restore |
| ms.technology | backup-restore |
| ms.topic | reference |
| author | mashamsft |
| ms.author | mathoma |
[!INCLUDEappliesto-ss-xxxx-xxxx-xxx-md]
The IsSharedBuffer function determines if the given buffer address refers to one of the shared buffers made available by the AllocateBuffer method.
HRESULT IServerVirtualDeviceSet2::IsSharedBuffer (
LPVOID lpBuffer
);lpBuffer This is an address of a buffer.
| Return Value | Explanation |
|---|---|
| TRUE | The buffer is a shared buffer. |
| FALSE | The buffer is not part of the virtual device set. |
For more information, see the SQL Server virtual device interface reference overview.