Skip to content

Latest commit

 

History

History
97 lines (78 loc) · 3.04 KB

ni-winioctl-ioctl_changer_get_element_status.md

File metadata and controls

97 lines (78 loc) · 3.04 KB
UID title description helpviewer_keywords old-location tech.root ms.assetid ms.date ms.keywords req.header req.include-header req.target-type req.target-min-winverclnt req.target-min-winversvr req.kmdf-ver req.umdf-ver req.ddi-compliance req.unicode-ansi req.idl req.max-support req.namespace req.assembly req.type-library req.lib req.dll req.irql targetos req.typenames req.redist f1_keywords dev_langs topic_type api_type api_location api_name
NI:winioctl.IOCTL_CHANGER_GET_ELEMENT_STATUS
IOCTL_CHANGER_GET_ELEMENT_STATUS
Retrieves the status of all elements or a specified number of elements of a particular type.
IOCTL_CHANGER_GET_ELEMENT_STATUS
IOCTL_CHANGER_GET_ELEMENT_STATUS control
IOCTL_CHANGER_GET_ELEMENT_STATUS control code
_win32_ioctl_changer_get_element_status
base.ioctl_changer_get_element_status
winioctl/IOCTL_CHANGER_GET_ELEMENT_STATUS
base\ioctl_changer_get_element_status.htm
base
b5266a22-1f7b-423d-b3c1-7e455d87dd2b
12/05/2018
IOCTL_CHANGER_GET_ELEMENT_STATUS, IOCTL_CHANGER_GET_ELEMENT_STATUS control, IOCTL_CHANGER_GET_ELEMENT_STATUS control code, _win32_ioctl_changer_get_element_status, base.ioctl_changer_get_element_status, winioctl/IOCTL_CHANGER_GET_ELEMENT_STATUS
winioctl.h
Windows.h
Windows
Windows XP
Windows Server 2003
Windows
IOCTL_CHANGER_GET_ELEMENT_STATUS
winioctl/IOCTL_CHANGER_GET_ELEMENT_STATUS
c++
APIRef
kbSyntax
HeaderDef
WinIoCtl.h
IOCTL_CHANGER_GET_ELEMENT_STATUS

IOCTL_CHANGER_GET_ELEMENT_STATUS IOCTL

-description

Retrieves the status of all elements or a specified number of elements of a particular type.

To perform this operation, call the DeviceIoControl function with the following parameters.

BOOL DeviceIoControl(
  (HANDLE) hDevice,                 // handle to device
  IOCTL_CHANGER_GET_ELEMENT_STATUS, // dwIoControlCode
  (LPVOID) lpInBuffer,              // input buffer
  (DWORD) nInBufferSize,            // size of input buffer
  (LPVOID) lpOutBuffer,             // output buffer
  (DWORD) nOutBufferSize,           // size of output buffer
  (LPDWORD) lpBytesReturned,        // number of bytes returned
  (LPOVERLAPPED) lpOverlapped       // OVERLAPPED structure
);

-ioctlparameters

-input-buffer

-input-buffer-length

-output-buffer

-output-buffer-length

-in-out-buffer

-inout-buffer-length

-status-block

Irp->IoStatus.Status is set to STATUS_SUCCESS if the request is successful.

Otherwise, Status to the appropriate error condition as a NTSTATUS code.

For more information, see NTSTATUS Values.

-see-also