NVDA Helper
In-process and lite high-speed utilities for NVDA
winIPCUtils.cpp File Reference
#include <cwchar>
#include <string>
#include <sstream>
#include <windows.h>
#include "winIPCUtils.h"

Go to the source code of this file.

Macros

#define WIN32_LEAN_AND_MEAN
 

Functions

size_t generateDesktopSpecificNamespace (wchar_t *buf, size_t cch)
 Generates a string that can be used as part of the name for events and rpc endpoints etc that will localize it to the current session/desktop.
 

Macro Definition Documentation

◆ WIN32_LEAN_AND_MEAN

#define WIN32_LEAN_AND_MEAN

Function Documentation

◆ generateDesktopSpecificNamespace()

size_t generateDesktopSpecificNamespace ( wchar_t * buf,
size_t cch )

Generates a string that can be used as part of the name for events and rpc endpoints etc that will localize it to the current session/desktop.

Parameters
bufaddress of allocated memory that could hold cch characters where the port string should be written to.
cchthe size of buf in characters

Referenced by DllMain(), and startServer().