नोट
इस पेज तक पहुँच के लिए प्रमाणन की आवश्यकता होती है. आप साइन इन करने या निर्देशिकाओं को बदलने का प्रयास कर सकते हैं.
इस पेज तक पहुँच के लिए प्रमाणन की आवश्यकता होती है. आप निर्देशिकाओं को बदलने का प्रयास कर सकते हैं.
The KSMETHOD_STREAMALLOCATOR_FREE method is used by a client to free a frame back to the given allocator. A pending KSMETHOD_STREAMALLOCATOR_ALLOC, if any, can be completed by using this method.
For example, a kernel-mode client could use the following sample code to free a frame:
Remarks
Method.Identifier.Set = KSMETHODSETID_StreamAllocator;
Method.Identifier.Id = KSMETHOD_STREAMALLOCATOR_FREE;
Method.Flags = KSMETHOD_TYPE_READ;
DeviceIoControl(
AllocatorHandle,
IOCTL_KS_METHOD,
&Method,
sizeof(KSMETHOD),
&Frame,
sizeof( PVOID ),
&BytesReturned,
&Overlapped);