This IOCTL permits the caller to delete a previously created local plug.
[in] Handle to the target object. To get a device handle, call the CreateFile function with a name dynamically obtained from the SetupDiEnumDeviceInterfaces function.
[in] IOCTL for the operation. This value identifies the target operation and the type of device on which to perform the operation. For this operation, use IOCTL_STREAM_DELETE_LOCAL_PLUG.
[in] Must be filled in with a properly initialized STREAM_DeleteLocalPlug_Request structure. The sdlp_Plug member must be pre-initialized.
[in] Set to sizeof(STREAM_DeleteLocalPlug_Request).
[in] Unused. Should be set to NULL.
[in] Unused. Should be set to zero.
[out] Pointer to a DWORD variable that receives the actual count of bytes returned by the function in the output buffer. For this command, this should be zero.
[out] If not used, set to NULL. Otherwise, this should point to a completely filled out OVERLAPPED structure that contains a valid event. The event will be signaled when the I/O operation is complete.
If the operation succeeds, the DeviceIoControl function returns a non-zero value. If the operation fails, DeviceIoControl returns zero. To get extended error information, call the GetLastError function.
There is a similar IOCTL available through the unit filter driver. Plugs created through that driver are externally visible. Plugs created through the streaming filter driver are not.
OS Versions: Windows CE .NET 4.0 and later.
Last updated on Tuesday, May 18, 2004
© 1992-2003 Microsoft Corporation. All rights reserved.