Lines Matching defs:NULL
124 if ((Status = OpenPolicy(NULL,
133 if (!GetAccountSid(NULL, AccountName, &pSid))
154 if (!GetAccountSid(NULL, AccountName, &pSid))
161 if (pSid != NULL)
164 if (pSid != NULL)
203 ui.usri1_home_dir = NULL;
207 ui.usri1_script_path = NULL;
211 nStatus = NetUserAdd(NULL, dwLevel, (LPBYTE)&ui, &dwError);
231 if ((Status = OpenPolicy(NULL, POLICY_ALL_ACCESS, &PolicyHandle))
239 if (!GetAccountSid(NULL, AccountName, &pSid))
256 if (String == NULL) {
257 LsaString->Buffer = NULL;
273 PLSA_UNICODE_STRING Server = NULL;
280 if (ServerName != NULL) {
297 LPTSTR ReferencedDomain = NULL;
307 if ((*Sid = HeapAlloc(GetProcessHeap(), 0, cbSid)) == NULL)
311 cbReferencedDomain)) == NULL) __leave;
323 *Sid, cbSid)) == NULL) __leave;
327 cbReferencedDomain)) == NULL)
342 if (*Sid != NULL) {
344 *Sid = NULL;
385 if (UserRights == NULL || Status != STATUS_SUCCESS)
400 if (PrivList[*PrivCount] == NULL)
427 NULL, WinError, GetUserDefaultLangID(),
428 (LPSTR) &MessageBuffer, 0, NULL)){
433 dwBufferLength, &dwBytesWritten, NULL);