Using the API function that comes with window to realize camera monitoring technology