Home | History | Annotate | Download | only in src

Lines Matching defs:attributes

16 // Gets the security attributes of a window object referenced by |handle|. The
19 bool GetSecurityAttributes(HANDLE handle, SECURITY_ATTRIBUTES* attributes) {
20 attributes->bInheritHandle = FALSE;
21 attributes->nLength = sizeof(SECURITY_ATTRIBUTES);
26 NULL, &attributes->lpSecurityDescriptor);
38 // Get the security attributes from the current window station; we will
39 // use this as the base security attributes for the new window station.
40 SECURITY_ATTRIBUTES attributes = {0};
41 if (!GetSecurityAttributes(::GetProcessWindowStation(), &attributes)) {
48 *winsta = ::CreateWindowStationW(NULL, 0, WINSTA_ALL_ACCESS, &attributes);
49 LocalFree(attributes.lpSecurityDescriptor);
66 // Get the security attributes from the current desktop, we will use this as
67 // the base security attributes for the new desktop.
68 SECURITY_ATTRIBUTES attributes = {0};
70 &attributes)) {
81 ::LocalFree(attributes.lpSecurityDescriptor);
89 &attributes);
90 ::LocalFree(attributes.lpSecurityDescriptor);