ReactOS 0.4.16-dev-927-g467dec4
|
#include "shelltest.h"
#include <lmserver.h>
#include <undocshell.h>
#include <strsafe.h>
#include <versionhelpers.h>
Go to the source code of this file.
Macros | |
#define | COMPUTER_DESCRIPTIONS_KEY L"Software\\Microsoft\\Windows\\CurrentVersion\\Explorer\\ComputerDescriptions" |
Typedefs | |
typedef HRESULT(WINAPI * | FN_SHGetComputerDisplayNameW) (PWSTR, DWORD, PWSTR, DWORD) |
typedef NET_API_STATUS(WINAPI * | FN_NetServerGetInfo) (LPWSTR, DWORD, PBYTE *) |
typedef NET_API_STATUS(WINAPI * | FN_NetApiBufferFree) (PVOID) |
Functions | |
static PCWSTR | SHELL_SkipServerSlashes (_In_ PCWSTR pszPath) |
static VOID | SHELL_CacheComputerDescription (_In_ PCWSTR pszServerName, _In_ PCWSTR pszDesc) |
static HRESULT | SHELL_GetCachedComputerDescription (_Out_writes_z_(cchDescMax) PWSTR pszDesc, _In_ DWORD cchDescMax, _In_ PCWSTR pszServerName) |
static HRESULT | SHELL_BuildDisplayMachineName (_Out_writes_z_(cchNameMax) PWSTR pszName, _In_ DWORD cchNameMax, _In_ PCWSTR pszServerName, _In_ PCWSTR pszDescription) |
static VOID | TEST_SHGetComputerDisplayNameW (VOID) |
START_TEST (SHGetComputerDisplayNameW) | |
Variables | |
static FN_SHGetComputerDisplayNameW | s_pSHGetComputerDisplayNameW = NULL |
static FN_NetServerGetInfo | s_pNetServerGetInfo = NULL |
static FN_NetApiBufferFree | s_pNetApiBufferFree = NULL |
#define COMPUTER_DESCRIPTIONS_KEY L"Software\\Microsoft\\Windows\\CurrentVersion\\Explorer\\ComputerDescriptions" |
Definition at line 22 of file SHGetComputerDisplayNameW.cpp.
typedef NET_API_STATUS(WINAPI * FN_NetApiBufferFree) (PVOID) |
Definition at line 16 of file SHGetComputerDisplayNameW.cpp.
typedef NET_API_STATUS(WINAPI * FN_NetServerGetInfo) (LPWSTR, DWORD, PBYTE *) |
Definition at line 15 of file SHGetComputerDisplayNameW.cpp.
Definition at line 14 of file SHGetComputerDisplayNameW.cpp.
|
static |
Definition at line 61 of file SHGetComputerDisplayNameW.cpp.
Referenced by TEST_SHGetComputerDisplayNameW().
|
static |
Definition at line 36 of file SHGetComputerDisplayNameW.cpp.
Referenced by TEST_SHGetComputerDisplayNameW().
|
static |
Definition at line 49 of file SHGetComputerDisplayNameW.cpp.
Referenced by TEST_SHGetComputerDisplayNameW().
Definition at line 26 of file SHGetComputerDisplayNameW.cpp.
Referenced by SHELL_BuildDisplayMachineName(), SHELL_CacheComputerDescription(), and SHELL_GetCachedComputerDescription().
START_TEST | ( | SHGetComputerDisplayNameW | ) |
Definition at line 123 of file SHGetComputerDisplayNameW.cpp.
Definition at line 77 of file SHGetComputerDisplayNameW.cpp.
Referenced by START_TEST().
|
static |
Definition at line 20 of file SHGetComputerDisplayNameW.cpp.
Referenced by START_TEST().
|
static |
Definition at line 19 of file SHGetComputerDisplayNameW.cpp.
Referenced by START_TEST().
|
static |
Definition at line 18 of file SHGetComputerDisplayNameW.cpp.
Referenced by START_TEST(), and TEST_SHGetComputerDisplayNameW().