pragma directive is Microsoft preprocessor extension and it is only one of the many progmas available in Visual sudio.
It simply works so that your header in not included into translation unit more then once to avoid multiple inclusions and name chlases, just like traditional ifndef define endif preprocessor.