DkmComponentManager.UninitializeThread Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
UninitializeThread(Guid) |
Clean up a thread which was previously initialized with a call to DkmComponentManager.InitializeThread. |
UninitializeThread(IntPtr) |
Clean up a thread which was previously initialized with a call to DkmComponentManager.InitializeThreadByThread. |
UninitializeThread(Guid)
Clean up a thread which was previously initialized with a call to DkmComponentManager.InitializeThread.
public:
static void UninitializeThread(Guid componentId);
public static void UninitializeThread (Guid componentId);
static member UninitializeThread : Guid -> unit
Public Shared Sub UninitializeThread (componentId As Guid)
Parameters
- componentId
- Guid
Guid for the component which initializing the thread. This Guid value is defined in the component's configuration file.
Exceptions
Thread is not initalized, is still processing other operations, or was initalized by a different component.
Applies to
UninitializeThread(IntPtr)
Clean up a thread which was previously initialized with a call to DkmComponentManager.InitializeThreadByThread.
public:
static void UninitializeThread(IntPtr componentHandle);
public static void UninitializeThread (IntPtr componentHandle);
static member UninitializeThread : nativeint -> unit
Public Shared Sub UninitializeThread (componentHandle As IntPtr)
Parameters
- componentHandle
-
IntPtr
nativeint
Component handle obtained by FindComponentHandle