#include <cwchar>
#include <string>
#include <sstream>
#include <windows.h>
#include "winIPCUtils.h"
Go to the source code of this file.
|
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.
|
|
◆ WIN32_LEAN_AND_MEAN
#define WIN32_LEAN_AND_MEAN |
◆ 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
-
buf | address of allocated memory that could hold cch characters where the port string should be written to. |
cch | the size of buf in characters |
Referenced by DllMain(), and startServer().