/reactos/sdk/tools/mkshelllink/ |
H A D | mkshelllink.c | 297 if (pszName[0] && pszName[0] != ':' && pszName[1] == ':') in main() 301 pszName += 2; in main() 302 while (*pszName == '\\' || *pszName == '/') in main() 306 while (*pszName) in main() 309 while (pszName[cchName] && pszName[cchName] != '\\' && pszName[cchName] != '/') in main() 322 while (*pszName == '\\' || *pszName == '/') in main() 337 if (isalpha(pszName[0]) && pszName[1] == ':') in main() 345 while(*pszName == '\\' || *pszName == '/') in main() 349 while (*pszName) in main() 352 while (pszName[cchName] && pszName[cchName] != '\\' && pszName[cchName] != '/') in main() [all …]
|
/reactos/sdk/lib/atl/ |
H A D | atlsync.h | 63 Create(pSecurity, bManualReset, bInitialState, pszName); in CEvent() 78 BOOL Open(DWORD dwAccess, BOOL bInheritHandle, LPCTSTR pszName) in Open() argument 80 HANDLE hEvent = ::OpenEvent(dwAccess, bInheritHandle, pszName); in Open() 120 CMutex(LPSECURITY_ATTRIBUTES pSecurity, BOOL bInitialOwner, LPCTSTR pszName) in CMutex() argument 122 Create(pSecurity, bInitialOwner, pszName); in CMutex() 131 HANDLE hMutex = ::CreateMutex(pSecurity, bInitialOwner, pszName); in Create() 137 BOOL Open(DWORD dwAccess, BOOL bInheritHandle, LPCTSTR pszName) in Open() argument 139 HANDLE hMutex = ::OpenMutex(dwAccess, bInheritHandle, pszName); in Open() 169 Create(pSecurity, nInitialCount, nMaxCount, pszName); in CSemaphore() 184 BOOL Open(DWORD dwAccess, BOOL bInheritHandle, LPCTSTR pszName) in Open() argument [all …]
|
/reactos/base/services/dnsrslvr/ |
H A D | rpcserver.c | 77 _In_ LPCWSTR pszName, in R_ResolverFlushCacheEntry() argument 81 pszServerName, pszName, wType); in R_ResolverFlushCacheEntry() 83 if (pszName == NULL) in R_ResolverFlushCacheEntry() 86 return DnsIntFlushCacheEntry(pszName, wType); in R_ResolverFlushCacheEntry() 95 _In_ LPCWSTR pszName, in R_ResolverQuery() argument 105 pszServerName, pszName, wType, dwFlags, dwRecords, ppResultRecords); in R_ResolverQuery() 107 if (pszName == NULL || wType == 0 || ppResultRecords == NULL) in R_ResolverQuery() 116 Status = Query_Main(pszName, in R_ResolverQuery() 124 Status = DnsIntCacheGetEntryByName(pszName, in R_ResolverQuery() 132 Status = DnsIntCacheGetEntryByName(pszName, in R_ResolverQuery() [all …]
|
H A D | cache.c | 107 _In_ LPCWSTR pszName, in DnsIntFlushCacheEntry() argument 113 DPRINT("DnsIntFlushCacheEntry(%S %x)\n", pszName, wType); in DnsIntFlushCacheEntry() 128 if ((_wcsicmp(CacheEntry->Record->pName, pszName) == 0) && in DnsIntFlushCacheEntry() 294 … pNewEntry->pszName = midl_user_allocate((wcslen(CacheEntry->Record->pName) + 1) * sizeof(WCHAR)); in DnsIntCacheGetEntries() 295 if (pNewEntry->pszName == NULL) in DnsIntCacheGetEntries() 300 wcscpy(pNewEntry->pszName, CacheEntry->Record->pName); in DnsIntCacheGetEntries()
|
/reactos/modules/rostests/apitests/winspool/ |
H A D | GetPrinterData.c | 22 PSTR pszName; member 94 for (p = SplRegValues; p->pszName; p++) in START_TEST() 98 dwReturnCode = GetPrinterDataExA(hPrinter, NULL, p->pszName, &dwType, NULL, 0, &cbNeeded); in START_TEST() 103 ok(dwType == p->dwType, "dwType is %lu for \"%s\"!\n", dwType, p->pszName); in START_TEST() 108 ok(cbNeeded > 0, "cbNeeded is 0 for \"%s\"!\n", p->pszName); in START_TEST() 111 … dwReturnCode = GetPrinterDataExA(hPrinter, NULL, p->pszName, NULL, pDataA, cbNeeded, &cbNeeded); in START_TEST() 112 …urnCode == ERROR_SUCCESS, "GetPrinterDataExA returns %lu for \"%s\"!\n", dwReturnCode, p->pszName); in START_TEST() 118 ok(dwType == p->dwType, "dwType is %lu for \"%s\"!\n", dwType, p->pszName); in START_TEST() 122 …urnCode == ERROR_SUCCESS, "GetPrinterDataExW returns %lu for \"%s\"!\n", dwReturnCode, p->pszName); in START_TEST() 125 if (strcmp(p->pszName, "OSVersion") == 0) in START_TEST() [all …]
|
/reactos/sdk/lib/cicero/ |
H A D | cicevent.h | 26 BOOL Create(LPSECURITY_ATTRIBUTES lpSA, LPCTSTR pszName) in Create() argument 28 if (pszName) in Create() 29 m_pszName = pszName; in Create() 35 BOOL Open(LPCTSTR pszName) in Open() argument 37 if (pszName) in Open() 38 m_pszName = pszName; in Open()
|
H A D | cicfmap.cpp | 11 CicFileMapping::CicFileMapping(LPCTSTR pszName, CicMutex *pMutex) in CicFileMapping() argument 19 Init(pszName, pMutex); in CicFileMapping() 39 void CicFileMappingStatic::Init(LPCTSTR pszName, CicMutex *pMutex) in Init() argument 45 m_pszName = pszName; in Init()
|
H A D | cicfmap.h | 31 void Init(LPCTSTR pszName, CicMutex *pMutex); 46 CicFileMapping(LPCTSTR pszName, CicMutex *pMutex);
|
/reactos/modules/rosapps/applications/devutils/symdump/ |
H A D | symdump.c | 508 IsUnnamed(WCHAR *pszName) in IsUnnamed() argument 535 pszName = pszNameX; in DumpEnum() 536 if (IsUnnamed(pszName)) in DumpEnum() 544 pszName = L""; in DumpEnum() 562 pszName = L""; in DumpEnum() 573 LocalFree(pszName); in DumpEnum() 601 pszName = pszNameX; in DumpUDT() 602 if (IsUnnamed(pszName)) in DumpUDT() 610 pszName = L""; in DumpUDT() 644 pszName = L""; in DumpUDT() [all …]
|
/reactos/dll/cpl/input/ |
H A D | locale_list.c | 15 LocaleList_Append(DWORD dwId, const WCHAR *pszName) in LocaleList_Append() argument 20 if (pszName == NULL) in LocaleList_Append() 31 pNew->pszName = _wcsdup(pszName); in LocaleList_Append() 32 if (pNew->pszName == NULL) in LocaleList_Append() 73 free(pCurrent->pszName); in LocaleList_Destroy()
|
H A D | layout_list.c | 14 LayoutList_AppendNode(DWORD dwKLID, WORD wSpecialId, LPCWSTR pszFile, LPCWSTR pszName, in LayoutList_AppendNode() argument 20 if (pszName == NULL) in LayoutList_AppendNode() 34 pNew->pszName = _wcsdup(pszName); in LayoutList_AppendNode() 37 if (pNew->pszName == NULL || pNew->pszFile == NULL || in LayoutList_AppendNode() 40 free(pNew->pszName); in LayoutList_AppendNode() 79 free(pCurrent->pszName); in LayoutList_Destroy()
|
H A D | edit_dialog.c | 33 SetWindowTextW(GetDlgItem(hwndDlg, IDC_INPUT_LANG_STR), pInput->pLocale->pszName); in EditDialogProc() 43 iItemIndex = ComboBox_AddString(hwndList, pCurrentLayout->pszName); in EditDialogProc() 47 ComboBox_SelectString(hwndList, 0, pInput->pLayout->pszName); in EditDialogProc()
|
/reactos/dll/cpl/powercfg/ |
H A D | powershemes.c | 19 LPTSTR pszName; member 68 LPTSTR pszName, in AddPowerScheme() argument 87 pScheme->pszName = HeapAlloc(GetProcessHeap(), in AddPowerScheme() 90 if (pScheme->pszName == NULL) in AddPowerScheme() 93 _tcscpy(pScheme->pszName, pszName); in AddPowerScheme() 113 if (pScheme->pszName) in AddPowerScheme() 134 if (pScheme->pszName) in DeletePowerScheme() 150 LPTSTR pszName, in EnumPowerSchemeCallback() argument 161 pszName, in EnumPowerSchemeCallback() 614 pScheme->pszName, in SavePowerScheme() [all …]
|
/reactos/dll/win32/netcfgx/ |
H A D | propertypage.c | 24 PWSTR pszName; member 29 PWSTR pszName; member 84 if (ParamArray->Array[i].pszName != NULL) in FreeParameterArray() 347 pOptions[i].pszName = HeapAlloc(GetProcessHeap(), in GetEnumOptions() 350 if (pOptions[i].pszName == NULL) in GetEnumOptions() 387 if (pOptions[i].pszName != NULL) in GetEnumOptions() 510 if (ParamArray->Array[dwIndex].pszName == NULL) in BuildParameterArray() 780 Param->pszName, in WriteParameterArray() 788 TRACE("Delete '%S'\n", Param->pszName); in WriteParameterArray() 790 Param->pszName); in WriteParameterArray() [all …]
|
/reactos/modules/rosapps/applications/devutils/createspec/ |
H A D | createspec.c | 91 PSTR pszName; member 368 pExportData->aExports[iIndex].pszName = _strdup(pszName); in GetExportsFromFile() 491 PCH pchDot, pszName; in GetFunctionFromForwarder() local 518 pszName = pchDot + 1; in GetFunctionFromForwarder() 519 if (pszName[0] == '#') in GetFunctionFromForwarder() 521 ULONG iOrdinal = strtoul(pszName + 1, NULL, 10); in GetFunctionFromForwarder() 528 pszName = (PSTR)(ULONG_PTR)iOrdinal; in GetFunctionFromForwarder() 532 ullFunction = (ULONG_PTR)GetProcAddress(hmod, pszName); in GetFunctionFromForwarder() 686 if (pExport->pszName == NULL) in CreateSpecFile() 691 if (pExport->pszName != NULL) in CreateSpecFile() [all …]
|
/reactos/dll/win32/winmm/ |
H A D | playsound.c | 243 LPCWSTR pszName; in PlaySound_GetMMIO() local 249 pszName = L"SystemAsterisk"; in PlaySound_GetMMIO() 251 pszName = L"SystemDefault"; in PlaySound_GetMMIO() 253 pszName = L"SystemExclamation"; in PlaySound_GetMMIO() 255 pszName = L"SystemExit"; in PlaySound_GetMMIO() 257 pszName = L"SystemHand"; in PlaySound_GetMMIO() 259 pszName = L"SystemQuestion"; in PlaySound_GetMMIO() 261 pszName = L"SystemStart"; in PlaySound_GetMMIO() 263 pszName = L"SystemWelcome"; in PlaySound_GetMMIO() 269 pszName = pszSound; in PlaySound_GetMMIO() [all …]
|
/reactos/dll/win32/inetcomm/ |
H A D | mimeole.c | 1044 if(!pszName || !pInfo) in MimeBody_GetPropInfo() 1098 if(!pszName || !pValue) in MimeBody_GetProp() 1101 if(!ISPIDSTR(pszName) && !lstrcmpiA(pszName, "att:pri-content-type")) in MimeBody_GetProp() 2675 LPCSTR pszName, in MimeMessage_QueryBodyProp() argument 2687 LPCSTR pszName, in MimeMessage_GetBodyProp() argument 2708 LPCSTR pszName, in MimeMessage_SetBodyProp() argument 2719 LPCSTR pszName) in MimeMessage_DeleteBodyProp() argument 2794 LPCSTR pszName, in MimeMessage_GetProp() argument 2804 LPCSTR pszName, in MimeMessage_SetProp() argument 2814 LPCSTR pszName) in MimeMessage_DeleteProp() argument [all …]
|
/reactos/modules/rosapps/lib/vfdlib/ |
H A D | vfdshmenu.cpp | 277 LPSTR pszName, in GetCommandString() argument 295 0, pszName, cchMax, NULL); in GetCommandString() 297 VFDTRACE(0, ("HELPTEXTA: %s\n", pszName)); in GetCommandString() 305 0, (LPWSTR)pszName, cchMax, NULL); in GetCommandString() 307 VFDTRACE(0, ("HELPTEXTW: %ws\n", pszName)); in GetCommandString() 311 lstrcpynA(pszName, g_VfdMenu[idCmd].verbA, cchMax); in GetCommandString() 315 lstrcpynW((LPWSTR)pszName, g_VfdMenu[idCmd].verbW, cchMax); in GetCommandString()
|
/reactos/modules/rosapps/applications/sysutils/regexpl/ |
H A D | ShellCommandSACL.cpp | 319 TCHAR *pszName, *pszDomainName; in Execute() local 324 pszName = new (std::nothrow) TCHAR [dwNameBufferLength]; in Execute() 325 if (!pszName) in Execute() 335 delete[] pszName; in Execute() 341 if (!LookupAccountSid(NULL,pSID,pszName,&dwNameLength,pszDomainName,&dwDomainNameLength,&Use)) in Execute() 354 rConsole.Write(pszName); in Execute() 424 delete[] pszName; in Execute()
|
/reactos/base/shell/cmd/ |
H A D | ctty.c | 30 CheckTerminalDeviceType(IN LPCTSTR pszName) in CheckTerminalDeviceType() argument 46 DWORD len = strlen(pszName) + 1; in CheckTerminalDeviceType() 54 0, pszName, (INT)len, buffer, (INT)len); in CheckTerminalDeviceType() 57 DeviceName = pszName; in CheckTerminalDeviceType()
|
/reactos/sdk/tools/hpp/ |
H A D | hpp.c | 27 char *pszName; member 180 trace("found a define: %s\n", pDefine->pszName); in FindDefine() 183 if (strncmp(p, pDefine->pszName, cchName) == 0) in FindDefine() 483 pDefine->pszName = pDefine->achBuffer; in ParseInputFile() 484 strncpy(pDefine->pszName, pchName, cchName); in ParseInputFile() 485 pDefine->pszName[cchName] = 0; in ParseInputFile()
|
/reactos/base/applications/network/netsh/ |
H A D | context.c | 25 PWSTR pszName, in AddContext() argument 30 if (pParentContext != NULL && pszName == NULL) in AddContext() 39 if (pszName != NULL) in AddContext() 43 (wcslen(pszName) + 1) * sizeof(WCHAR)); in AddContext() 51 wcscpy(pEntry->pszContextName, pszName); in AddContext() 225 PWSTR pszName) in DeleteContext() argument
|
/reactos/dll/win32/advpack/ |
H A D | reg.c | 104 name_len = MultiByteToWideChar(CP_ACP, 0, aentry->pszName, -1, NULL, 0); in strentry_atow() 107 wentry->pszName = HeapAlloc(GetProcessHeap(), 0, name_len * sizeof(WCHAR)); in strentry_atow() 110 MultiByteToWideChar(CP_ACP, 0, aentry->pszName, -1, wentry->pszName, name_len); in strentry_atow() 135 HeapFree(GetProcessHeap(), 0, wtable->pse[j].pszName); in free_strtable() 247 WritePrivateProfileStringW(Strings, pstTable->pse[i].pszName, tmp_value, tmp_ini_path); in RegInstallW()
|
/reactos/dll/win32/shell32/ |
H A D | CNewMenu.cpp | 103 LPCWSTR pszName; in LoadItem() member 116 for (i = 0; Types[i].pszName; ++i) in LoadItem() 122 … if (RegGetValueW(hKey, NULL, Types[i].pszName, dwFlags, NULL, NULL, &cbData) == ERROR_SUCCESS) in LoadItem() 127 RegGetValueW(hKey, NULL, Types[i].pszName, dwFlags, &dwType, pData, &cbData); in LoadItem() 142 if (!Types[i].pszName) in LoadItem() 413 HRESULT CNewMenu::SelectNewItem(LONG wEventId, UINT uFlags, LPWSTR pszName, BOOL bRename) in SelectNewItem() argument 427 SHChangeNotify(wEventId, uFlags | SHCNF_FLUSH, (LPCVOID)pszName, NULL); in SelectNewItem() 438 hr = SHILCreateFromPathW(pszName, &pidl, NULL); in SelectNewItem() 694 LPSTR pszName, in GetCommandString() argument 698 idCmd, uType, pwReserved, pszName, cchMax ); in GetCommandString()
|
/reactos/sdk/include/reactos/ |
H A D | windns_undoc.h | 12 [string] PWSTR pszName; /* DNS Record Name */ 14 PWSTR pszName; /* DNS Record Name */ member
|