Checking for existence of Windows API Functions

前端 未结 8 1874
鱼传尺愫
鱼传尺愫 2021-01-05 14:17

I am new to Windows programming and I\'m trying to discover the best way to check for the existence of Windows Shell API functions. I want to use some of the new taskbar fea

8条回答
  •  爱一瞬间的悲伤
    2021-01-05 14:56

    Use LoadLibarary to get library handle and GerProcAddress to get pointer to a function. For those functions that are not supported by current OS you will get ERROR_CALL_NOT_IMPLEMENTED error from GetLastError.

提交回复
热议问题