private static MakeCaptureResult ( CaptureResultType resultType, long hResult ) : PhotoCaptureResult | ||
resultType | CaptureResultType | |
hResult | long | |
return | PhotoCaptureResult |
private static void InvokeOnCapturedPhotoToMemoryDelegate(PhotoCapture.OnCapturedToMemoryCallback callback, long hResult, IntPtr photoCaptureFramePtr) { PhotoCaptureFrame photoCaptureFrame = null; if (photoCaptureFramePtr != IntPtr.Zero) { photoCaptureFrame = new PhotoCaptureFrame(photoCaptureFramePtr); } callback(PhotoCapture.MakeCaptureResult(hResult), photoCaptureFrame); }
private static void InvokeOnCapturedPhotoToDiskDelegate(PhotoCapture.OnCapturedToDiskCallback callback, long hResult) { callback(PhotoCapture.MakeCaptureResult(hResult)); }
private static void InvokeOnPhotoModeStoppedDelegate(PhotoCapture.OnPhotoModeStoppedCallback callback, long hResult) { callback(PhotoCapture.MakeCaptureResult(hResult)); }