Share via


FSCTL_GET_REGISTRY_INFO (Compact 2013)

3/26/2014

This I/O control obtains information about a registry key.

Syntax

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

Parameters

  • sprout
    Set to NULL.
  • dwIoControlCode
    [in] Set to FSCTL_GET_REGISTRY_INFO.
  • lpInBuf
    [in] Pointer to an HKEY value.
  • nInBufSize
    [in] Size of the HKEY value.
  • nOutBufSize
    [in] Size of the CE_REGISTRY_INFO structure.
  • lpBytesReturned
    Not used.
  • lpOverlapped
    Not used.

Return Values

If the operation succeeds, DeviceIoControl returns a nonzero value.

If the operation fails, DeviceIoControl returns zero. For extended error information, call GetLastError.

Requirements

Header

fsioctl.h

See Also

Reference

FS I/O Controls
CE_REGISTRY_INFO

Other Resources

DeviceIoControl