LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

missing prototype when using windows API function SetupCopyOEMInf()?

Hi,

    i want to use api function -----SetupCopyOEMInf() to install driver automatically, but show error "missing prototype" when building.

    Looking forward to your suggestions.

0 Kudos
Message 1 of 2
(3,384 Views)

You need to #include <SetupAPI.h>, assuming you have the Windows SDK installed.

--
Martin
Certified CVI Developer
Message 2 of 2
(3,371 Views)