LoadDriver 和 LoadLibrary区别

                We use LoadDriver here instead of LoadLibrary so that client drivers will
                 be locked into RAM.
  This is in case a client wishes to register with device
                to receive power notifications - you cannot take a page fault in a power handler
                routine.

 

都用FreeLibrary()释放;

你可能感兴趣的:(LoadDriver 和 LoadLibrary区别)