40
43
PsychWindowRecordType *windowRecord;
44
48
//all sub functions should have these two lines
45
49
PsychPushHelp(useString, synopsisString,seeAlsoString);
46
50
if(PsychIsGiveHelp()){PsychGiveHelp();return(PsychError_none);};
48
52
//check for superfluous arguments
50
54
PsychErrorExit(PsychRequireNumInputArgs(1)); //Insist that the argument be present.
51
55
PsychErrorExit(PsychCapNumOutputArgs(1)); //The maximum number of outputs
53
60
if(PsychIsScreenNumberArg(1)){
54
61
PsychCopyInScreenNumberArg(1, TRUE, &screenNumber);
55
62
PsychGetScreenRect(screenNumber, rect);