diff options
Diffstat (limited to 'src/Mayaqua/Microsoft.c')
-rw-r--r-- | src/Mayaqua/Microsoft.c | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/src/Mayaqua/Microsoft.c b/src/Mayaqua/Microsoft.c index 17539a85..375463e9 100644 --- a/src/Mayaqua/Microsoft.c +++ b/src/Mayaqua/Microsoft.c @@ -12547,6 +12547,19 @@ bool MsDetermineIsLockedByWtsApi() return wts_is_locked_flag;
}
+// New GUID
+void MsNewGuid(void *guid)
+{
+ if (guid == NULL)
+ {
+ return;
+ }
+
+ Zero(guid, sizeof(GUID));
+
+ CoCreateGuid(guid);
+}
+
// IsLocked Window Proc
LRESULT CALLBACK MsIsLockedWindowHandlerWindowProc(HWND hWnd, UINT msg, WPARAM wParam, LPARAM lParam)
{
|