다음을 통해 공유


CeFsIoControl (Windows CE 5.0)

Send Feedback

This function sends an IOCTL to an FSD. It may not be supported by all file system drivers, and not all implementations will support all IOCTL codes.

BOOL CeFsIoControl(LPCWSTR pszDir,
  DWORD dwIoControlCode,
  LPVOID lpInBuffer,
  DWORD nInBufferSize,
LPVOID lpOutBuffer,
DWORD nOutBufferSize,
LPDWORD lpBytesReturned,
LPOVERLAPPED lpOverlapped);

Parameters

  • pszDir
    [in] String representing the system mount point. Set to NULL to access the object store file system.
  • dwIoControlCode
    [in] File system IOCTL code.
  • lpInBuffer
    [in] Long pointer to a buffer that contains the data required to perform the operation. Set to NULL, if the dwIoControlCode parameter specifies an operation that does not require input data.
  • nInBufferSize
    [in] Size, in bytes, of the buffer pointed to by lpInBuffer.
  • lpOutBuffer
    [out] Long pointer to a buffer that receives the output data for the operation. Set to NULL, if the dwIoControlCode parameter does not produce output data.
  • nOutBufferSize
    [in] Size, in bytes, of the buffer pointed to by lpOutBuffer.
  • lpBytesReturned
    [out] Long pointer to a variable that receives the size, in bytes, of the data stored in the buffer pointed to by lpOutBuffer.
  • lpOverlapped
    [in] Ignored. Set to NULL.

Return Values

Returns TRUE, if successful; otherwise, returns FALSE. If this function is not supported by an FSD, it will return FALSE and GetLastError will return ERROR_NOT_SUPPORTED.

Requirements

OS Versions: Windows CE 5.0 and later.
Header: Winbase.h.
Link Library: Device.lib.

See Also

FSD Functions | MyFSD_FsIoControl | GetLastError

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.