Lines Matching defs:PathNameLength
197 static BOOL vboxIsPrefixOK (const WCHAR *FilePathName, ULONG PathNameLength)
202 if (PathNameLength >= 8 * sizeof (WCHAR)) /* Number of bytes in '\vboxsrv' unicode string. */
221 if (PathNameLength > 8 * sizeof (WCHAR))
267 ULONG PathNameLength = 0;
294 Log(("VBOXSF: MRxDeviceControl: PathNameLength = %d.\n", pReq->PathNameLength));
296 Log(("VBOXSF: MRxDeviceControl: FilePathName = %.*ls.\n", pReq->PathNameLength / sizeof (WCHAR), pReq->FilePathName));
299 PathNameLength = pReq->PathNameLength;
318 Log(("VBOXSF: MRxDeviceControl: PathNameLength = %d.\n", pReqEx->PathName.Length));
322 PathNameLength = pReqEx->PathName.Length;
327 PrefixOK = vboxIsPrefixOK (FilePathName, PathNameLength);