Go to the source code of this file.
◆ MAX_CONNECTION_BUFFER_SIZE
#define MAX_CONNECTION_BUFFER_SIZE |
( |
|
EaSize | ) |
|
◆ MOUNT_OPTION_BUFFER_SECRET
#define MOUNT_OPTION_BUFFER_SECRET ('n4') |
◆ CONNECTION_BUFFER
◆ CONNECTION_INFO
◆ MOUNT_OPTION_BUFFER
◆ PCONNECTION_BUFFER
◆ PCONNECTION_INFO
◆ PMOUNT_OPTION_BUFFER
◆ FreeConnectionInfo()
◆ InitializeConnectionInfo()
Definition at line 26 of file options.c.
30{
33
34
38 {
41 }
42 else
43 {
44 Connection->Options =
NULL;
46 }
47
49 if (Connection->Buffer)
50 *ConnectionName = (
LPWSTR)Connection->Buffer->Buffer;
51 else
53
55}
#define MAX_CONNECTION_BUFFER_SIZE(EaSize)
#define MOUNT_OPTION_BUFFER_SECRET
HLOCAL NTAPI LocalAlloc(UINT uFlags, SIZE_T dwBytes)
_In_ PWDFDEVICE_INIT _In_ PWDF_REMOVE_LOCK_OPTIONS Options
Referenced by NPAddConnection3().
◆ MarshalConnectionInfo()
Definition at line 68 of file options.c.
70{
73
75
76
77 if (Connection->Options && Connection->Options->Length)
78 {
80
83 Buffer->EaLength = Connection->Options->Length;
85
87 }
88
90}
static FORCEINLINE SIZE_T ConnectionBufferSize(IN PCONNECTION_BUFFER Buffer)
_CRTIMP size_t __cdecl wcslen(_In_z_ const wchar_t *_Str)
#define RtlCopyMemory(Destination, Source, Length)
Referenced by NPAddConnection3().