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

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



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发布应用)2024-12-08 15:45:10
  • pass平台的主要功能(pass应用平台)2024-12-08 15:45:10
  • 如何删除快应用程序(怎么样删除快应用)2024-12-08 15:45:10
  • 如何彻底删除快应用程序(如何彻底删除应用程序扩展)2024-12-08 15:45:10
  • pass应用平台(pass 平台)2024-12-08 15:45:10
  • msp430单片机应用(msp430单片机应用设计)2024-12-08 15:45:10
  • 快程序应用中心(快应用中心是啥)2024-12-08 15:45:10
  • ddpm模型做化学反应(ddm模型的应用)2024-12-08 15:45:10
  • 快应用中心是什么软件可以卸载吗(快应用中心是什么可以删除吗)2024-12-08 15:45:10
  • xp虚拟机需要装杀毒软件吗(winxp虚拟机安装应用软件)2024-12-08 15:45:10
  • 全屏图片