#pragma section-numbers off #pragma disable-camelcase = SDL_DestroyWindow = Use this function to destroy a window. <> == Syntax == {{{#!highlight cpp void SDL_DestroyWindow(SDL_Window* window) }}} == Function Parameters == ||'''window'''||the window to destroy|| == Code Examples == {{{#!highlight cpp You can add your code example here }}} == Remarks == If '''window''' is NULL, this function will return immediately after setting the SDL error message to "Invalid window". See [[SDL_GetError]](). == Related Functions == .[[SDL_CreateWindow]] .[[SDL_CreateWindowFrom]] ---- [[CategoryAPI]], [[CategoryVideo]]