Lưu ý
Cần có ủy quyền mới truy nhập được vào trang này. Bạn có thể thử đăng nhập hoặc thay đổi thư mục.
Cần có ủy quyền mới truy nhập được vào trang này. Bạn có thể thử thay đổi thư mục.
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);