Use the WdfRequestRetrieveInputBuffer and WdfMemoryGetBuffer methods only if you require the buffer pointer so that you can cast it to a structure, which might be necessary when handling a device I/O control request.
Sử dụng các phương pháp WdfRequestRetrieveInputBuffer và WdfMemoryGetBuffer chỉ nếu bạn yêu cầu con trỏ đệm do đó bạn có thể cast nó cho một cấu trúc, mà có thể là cần thiết khi xử lý thiết bị yêu cầu kiểm soát I/O.
Sử dụng các phương pháp WdfRequestRetrieveInputBuffer và WdfMemoryGetBuffer chỉ khi bạn yêu cầu con trỏ đệm để bạn có thể bỏ nó vào một cấu trúc, mà có thể là cần thiết khi xử lý một thiết bị I / O kiểm soát yêu cầu.
Sử dụng phương pháp WdfRequestRetrieveInputBuffer và WdfMemoryGetBuffer, nếu anh cần chạy bộ nhớ đệm, anh có thể đưa nó về kiến trúc, nó có thể là cần thiết khi I/O kiểm soát yêu cầu thiết bị xử lý.