Skip to content

Commit 785f7f3

Browse files
authored
Added missing constants. (#922)
1 parent 9fc2903 commit 785f7f3

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/um/pdh.rs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,10 @@ use shared::guiddef::GUID;
1010
use shared::minwindef::{BOOL, DWORD, FILETIME, LPDWORD, UCHAR};
1111
use shared::windef::HWND;
1212
use um::winnt::{BOOLEAN, HANDLE, LONG, LONGLONG, LPCSTR, LPCWSTR, LPSTR, LPWSTR};
13+
pub const PDH_MAX_COUNTER_NAME: usize = 1024;
14+
pub const PDH_MAX_INSTANCE_NAME: usize = 1024;
15+
pub const PDH_MAX_COUNTER_PATH: usize = 2048;
16+
pub const PDH_MAX_DATASOURCE_PATH: usize = 1024;
1317
pub const PDH_FMT_RAW: DWORD = 0x00000010;
1418
pub const PDH_FMT_ANSI: DWORD = 0x00000020;
1519
pub const PDH_FMT_UNICODE: DWORD = 0x00000040;

0 commit comments

Comments
 (0)