Skip to content

Instantly share code, notes, and snippets.

@deostroll
Created July 9, 2012 21:01
Show Gist options
  • Select an option

  • Save deostroll/3078876 to your computer and use it in GitHub Desktop.

Select an option

Save deostroll/3078876 to your computer and use it in GitHub Desktop.
struct EnumWindowsCallbackArgs {
EnumWindowsCallbackArgs( DWORD p ) : pid( p ) { }
const DWORD pid;
std::vector<HWND> handles;
};
EnumWindowsCallbackArgs args( ::GetCurrentProcessId() );
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment