Od razu mówię że to moja pierwsza próba podejrzenia kodu w Windzie ;-) Lepszy jestem w Mikroklockach ;-)
Gość robi to w ten sposób:
_40DShutterCount.EDSDK::EdsGetCameraList(int& outCameraListRef)
_40DShutterCount.EDSDK::EdsGetChildAtIndex(int inRef, int32 inIndex, native int& outRef)
_40DShutterCount.EDSDK::EdsOpenSession(int inCameraRef)
_40DShutterCount.EDSDK::EdsGetPropertyData(int inRef, int32 inPropertyID, int32 inParam, int32 inPropertySize, int outPropertyData)
_40DShutterCount.EDSDK::EdsCloseSession(int inCameraRef)
_40DShutterCount.EDSDK::EdsRelease(int inRef)
inPropertyID kEdsPropID_ShutterCounter = int32 tego w pdfie nie opisali ;-)
Tak na marginesie funkcja SetPropertyData też istnieje ;-)