Lines Matching refs:size
241 ULONG size = 0; in getHandleType() local
243 int status = sNtQueryObjectFunc(h, 2, NULL, 0, &size); in getHandleType()
244 if (status == STATUS_INFO_LENGTH_MISMATCH && size > 0) { in getHandleType()
246 char *buf = new char[size]; in getHandleType()
247 status = sNtQueryObjectFunc(h, 2, buf, size, NULL); in getHandleType()
248 if (status == 0 && size > 96) { in getHandleType()
258 const char *e = buf + 96 + size; in getHandleType()
280 ULONG size = 0; in isFileHandleType() local
282 int status = sNtQueryObjectFunc(handle, 2, NULL, 0, &size); in isFileHandleType()
283 if (status == STATUS_INFO_LENGTH_MISMATCH && size > 0) { in isFileHandleType()
285 char *buf = new char[size]; in isFileHandleType()
286 status = sNtQueryObjectFunc(handle, 2, buf, size, NULL); in isFileHandleType()
287 if (status == 0 && size > 96) { in isFileHandleType()