HvDeleteEventLogBuffer function
The HvDeleteEventLogBuffer function deallocates a single event log buffer for the specified event log buffer group.
Syntax
HV_STATUS HvDeleteEventLogBuffer( _In_ HV_EVENTLOG_TYPE Type, _In_ HV_EVENTLOG_BUFFER_INDEX BufferIndex );
Parameters
- Type [in]
-
An HV_EVENTLOG_TYPE value that specifies the type of the event log buffer group of which the buffer to delete is a member.
- BufferIndex [in]
-
An HV_EVENTLOG_BUFFER_INDEX value that specifies the buffer index number that is associated with the buffer to be deleted.
Return value
HvDeleteEventLogBuffer returns one of the following values. In addition to these values, HvDeleteEventLogBuffer can also return one of the values that are specified in Common Hypercall Status Codes.
Return code | Description |
---|---|
|
HvDeleteEventLogBuffer successfully deallocated a single event log buffer. |
|
The caller is not the root partition. |
|
One of the following invalid parameter conditions exists:
|
|
One of the following conditions exists:
|
Remarks
The buffer that HvDeleteEventLogBuffer deallocates must not be mapped. The pages that constitute the buffer are returned to the partition's pool from which they came.
HvDeleteEventLogBuffer has the following restrictions:
-
The caller must be the root partition.
Native Interface
HvDeleteEventLogBuffer [fast] | |
---|---|
Call Code = 0x0063 | |
Input Parameters | |
0 |
Type (4 bytes) BufferIndex (4 bytes) |
Requirements
Version | HvDeleteEventLogBuffer is available in version 1.0 and later versions of the hypervisor. |
---|---|
Header |
|
IRQL | Any level |
See also
Send comments about this topic to Microsoft
Build date: 11/16/2013