diff --git a/src/um/winbase.rs b/src/um/winbase.rs index 1891738e2..1ba3f68d6 100644 --- a/src/um/winbase.rs +++ b/src/um/winbase.rs @@ -2177,8 +2177,20 @@ extern "system" { lpName: LPWSTR, cchName: LPDWORD, ) -> BOOL; - // pub fn LookupPrivilegeDisplayNameA(); - // pub fn LookupPrivilegeDisplayNameW(); + pub fn LookupPrivilegeDisplayNameA( + lpSystemName: LPCSTR, + lpName: LPCSTR, + lpDisplayName: LPSTR, + cchDisplayName: LPDWORD, + lpLanguageId: LPDWORD, + ) -> BOOL; + pub fn LookupPrivilegeDisplayNameW( + lpSystemName: LPCWSTR, + lpName: LPCWSTR, + lpDisplayName: LPWSTR, + cchDisplayName: LPDWORD, + lpLanguageId: LPDWORD, + ) -> BOOL; pub fn BuildCommDCBA( lpDef: LPCSTR, lpDCB: LPDCB,