svn path=/trunk/; revision=67379
(ProcessHandle != NtCurrentProcess()))
{
/*
- * Retreiving the process cookie is only allowed for the calling process
- * itself! XP only allowes NtCurrentProcess() as process handles even if
+ * Retrieving the process cookie is only allowed for the calling process
+ * itself! XP only allows NtCurrentProcess() as process handles even if
* a real handle actually represents the current process.
*/
return STATUS_INVALID_PARAMETER;
/* Check if the object is exclusively locked */
if (pobj->cExclusiveLock != 0)
{
- DPRINT1("GDIOBJ: Cannot reference oject %p with exclusive lock.\n", hobj);
+ DPRINT1("GDIOBJ: Cannot reference object %p with exclusive lock.\n", hobj);
GDIOBJ_vDereferenceObject(pobj);
DBG_DUMP_EVENT_LIST(&pobj->slhLog);
return NULL;