riglee
2005-03-10 17:29:48 UTC
I am calling CreateFile on a remote file (\\IP\C$\DirPath\FIlename). I have
all the permissions needed. See code snippet below. What is this message,
"Not enough quota is available to process this command" and why does it
happen?
m_hFile = CreateFile(SomeFileName,
GENERIC_READ,FILE_SHARE_READ,NULL,OPEN_EXISTING, FILE_ATTRIBUTE_NORMAL,
NULL);
if (INVALID_HANDLE_VALUE == m_hFile) {
DWORD Err = GetLastError();
// GetLastError returns 1816
// Not enough quota is available to process this command
return false;
}
Thanks for any insight.
all the permissions needed. See code snippet below. What is this message,
"Not enough quota is available to process this command" and why does it
happen?
m_hFile = CreateFile(SomeFileName,
GENERIC_READ,FILE_SHARE_READ,NULL,OPEN_EXISTING, FILE_ATTRIBUTE_NORMAL,
NULL);
if (INVALID_HANDLE_VALUE == m_hFile) {
DWORD Err = GetLastError();
// GetLastError returns 1816
// Not enough quota is available to process this command
return false;
}
Thanks for any insight.