LPDMAPDDTransferIoControl (Windows Embedded CE 6.0)
1/6/2010
This function is called when the user issues a call to DMARawTransferControl.
Syntax
typedef BOOL (* LPDMAPDDTransferIoControl)(
PDMA_PDD_TRANFER_CONTEXT pDMAPDDTransferContext,
DWORD dwIoControl,
PVOID lpInPtr,
DWORD nInLen,
LPVOID lpOutBuffer,
DWORD nOutBufferSize,
LPDWORD lpBytesReturned
);
Parameters
- pDMAPDDTransferContext
[in] Pointer to a DMA_PDD_TRANFER_CONTEXT structure.
- dwIoControl
[in] IOCTL for the operation. This value identifies the specific operation to perform and the type of device on which to perform the operation. There are n specific values defined for the dwIoControl parameter. However, you can define cutom IOCTL_XXX IOCTLs with the CTL_CODE macro. You can then advertise these IOCTLs and an application can use them with DeviceIoControl to perform the driver-specific functions.
- lpInPtr
[in] Long pointer to a buffer that contains the data required to perform the operation. Set to NULL if the dwIoControl parameter specifies an operation that does not require input data.
- nInLen
[in] Size, in bytes, of the buffer pointed to by lpInPtr.
- lpOutBuffer
[in, out] Long pointer to a buffer that receives the output data for the operation. Set to NULL if the dwIoControl parameter specifies an operation that does not produce output data.
- nOutBufferSize
[in] Size, in bytes, of the buffer pointed to by lpOutBuffer.
- lpBytesReturned
[in] Long pointer to a variable that receives the size, in bytes, of the data stored into the buffer pointed to by lpOutBuffer. Even when an operation produces no output data, and lpOutBuffer is NULL, the DeviceIoControl function uses the variable pointed to by lpBytesReturned. After such an operation, the value of the variable has no meaning.
Return Value
Returns TRUE if platform dependent driver (PDD) successfully handles this function. Returns FALSE on failure.
Requirements
Header | dmamif.h |
Windows Embedded CE | Windows Embedded CE 6.0 and later |