Menu
Home
Create new Paste
Log in
Code
Theme: cobalt
Theme: eclipse
Theme: elegant
Theme: monokai
Theme: neat
Theme: night
Theme: rubyblue
class App { App app; this() { app = this; } HRESULT initialize(HINSTANCE hInstance, int iCmdShow) { WNDCLASS wc; ... wc.lpfnWndProc = &wndProcDisp; ... } extern (Windows) static HRESULT wndProcDisp(HWND hwnd, UINT message, WPARAM wParam, LPARAM lParam) { return app.wndProc(hwnd, message, wParam, lParam); } HRESULT wndProc(HWND hwnd, UINT message, WPARAM wParam, LPARAM lParam) { switch (message) { ... } } }
Username
Message
Add comment
Paste info
Author:
Guest
Views:
182
Private:
no
Expires:
Never
Uploaded:
28.09.12 23:10
Parent:
#30c79937
Votes
:
0
Tweet
Actions
Download
Fork
Raw
×
Confirm
Are you sure you want to delete this paste?
There's no way back!
×
Confirm
Reason