当前位置:网站首页 > 人工智能与大数据应用 > 正文

快程序卸载(卸载快应用)



To unload a client module, the operating system calls the client module's Unload function. See Initializing and Registering a Client Module for more information about how to specify a client module's Unload function during initialization.

A client module's Unload function ensures that the client module is deregistered from the Network Module Registrar (NMR) before the client module is unloaded from system memory. A client module initiates deregistration from the NMR by calling the NmrDeregisterClient function, which it typically calls from its Unload function. A client module must not return from its Unload function until after it has been completely deregistered from the NMR. If the call to NmrDeregisterClient returns STATUS_PENDING, the client module must call the NmrWaitForClientDeregisterComplete function to wait for the deregistration to complete before it returns from its Unload function.

For example:

 

If a client module is registered as a client of multiple Network Programming Interfaces (NPIs), it must call NmrDeregisterClient for each NPI that it supports. If a network module is registered as both a client module and a provider module (that is, it is a client of one NPI and a provider of another NPI), it must call both NmrDeregisterClient and NmrDeregisterProvider.

A network module must wait until all of the deregistrations are complete before returning from its Unload function.

A client module is not required to call NmrDeregisterClient from within its Unload function. For example, in the situation where a client module is a subcomponent of a complex driver, the deregistration of the client module might occur when the client module subcomponent is deactivated. However, in such a situation the driver must still ensure that the client module has been completely deregistered from the NMR before returning from its Unload function.

到此这篇快程序卸载(卸载快应用)的文章就介绍到这了,更多相关内容请继续浏览下面的相关推荐文章,希望大家都能在编程的领域有一番成就!

版权声明


相关文章:

  • docker发布时间(docker发布web应用)2024-12-08 15:45:10
  • docker发布时间(docker发布应用)2024-12-08 15:45:10
  • 单片机设计原理与应用(单片机原理与应用系统设计)2024-12-08 15:45:10
  • pass平台的主要功能(pass应用平台)2024-12-08 15:45:10
  • 如何删除快应用程序(怎么样删除快应用)2024-12-08 15:45:10
  • msp430单片机应用(msp430单片机应用设计)2024-12-08 15:45:10
  • 卸载快应用软件(快应用咋卸载)2024-12-08 15:45:10
  • 怎样删除快应用图标(快应用图标怎么删)2024-12-08 15:45:10
  • 卸载快应用(荣耀卸载快应用)2024-12-08 15:45:10
  • 广度优先搜索应用哪里(广度优先搜索应用哪里设置)2024-12-08 15:45:10
  • 全屏图片